Motr
M0
|
#include "lib/trace.h"
#include "conf/confd.h"
#include "conf/obj_ops.h"
#include "conf/onwire.h"
#include "conf/preload.h"
#include "conf/dir.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/string.h"
#include "lib/fs.h"
#include "motr/magic.h"
#include "motr/setup.h"
Go to the source code of this file.
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF |
Functions | |
static int | confd_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
static int | confd_cache_preload (struct m0_conf_cache *cache, const char *str) |
M0_INTERNAL int | m0_confd_register (void) |
M0_INTERNAL void | m0_confd_unregister (void) |
static int | confd_start (struct m0_reqh_service *service) |
static void | confd_stop (struct m0_reqh_service *service) |
static void | confd_fini (struct m0_reqh_service *service) |
M0_INTERNAL int | m0_confd_cache_create (struct m0_conf_cache **out, struct m0_mutex *cache_lock, const char *confstr) |
M0_INTERNAL void | m0_confd_cache_destroy (struct m0_conf_cache *cache) |
static bool | nil (const char *s) |
M0_INTERNAL int | m0_confd_service_to_filename (struct m0_reqh_service *service, char **dbpath) |
Variables | |
const struct m0_bob_type | m0_confd_bob |
static const struct m0_reqh_service_type_ops | confd_stype_ops |
struct m0_reqh_service_type | m0_confd_stype |
static const struct m0_reqh_service_ops | confd_ops |