Motr
M0
|
#include "lib/trace.h"
#include "lib/misc.h"
#include "xcode/xcode.h"
#include "conf/obj.h"
#include "conf/onwire.h"
#include "conf/onwire_xc.h"
Go to the source code of this file.
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF |
#define | X_CONF(_, NAME, ...) m0_conf_obj_type_register(&M0_CONF_ ## NAME ## _TYPE); |
#define | X_CONF(_, NAME, ...) m0_conf_obj_type_unregister(&M0_CONF_ ## NAME ## _TYPE); |
Functions | |
M0_INTERNAL bool | m0_conf_obj_is_stub (const struct m0_conf_obj *obj) |
M0_BASSERT (M0_CONF_OBJ_TYPE_MAX<=ARRAY_SIZE(obj_types)) | |
void | m0_conf_obj_type_register (const struct m0_conf_obj_type *otype) |
void | m0_conf_obj_type_unregister (const struct m0_conf_obj_type *otype) |
M0_INTERNAL const struct m0_conf_obj_type * | m0_conf_obj_type_next (const struct m0_conf_obj_type *otype) |
const struct m0_conf_obj_type * | m0_conf_obj_type (const struct m0_conf_obj *obj) |
const struct m0_conf_obj_type * | m0_conf_fid_type (const struct m0_fid *fid) |
bool | m0_conf_fid_is_valid (const struct m0_fid *fid) |
struct m0_conf_obj * | m0_conf_obj_grandparent (const struct m0_conf_obj *obj) |
M0_INTERNAL int | m0_conf_obj_init (void) |
M0_INTERNAL void | m0_conf_obj_fini (void) |
M0_INTERNAL void | m0_conf_child_adopt (struct m0_conf_obj *parent, struct m0_conf_obj *child) |
Variables | |
static const struct m0_conf_obj_type * | obj_types [256] |
#define X_CONF | ( | _, | |
NAME, | |||
... | |||
) | m0_conf_obj_type_register(&M0_CONF_ ## NAME ## _TYPE); |
#define X_CONF | ( | _, | |
NAME, | |||
... | |||
) | m0_conf_obj_type_unregister(&M0_CONF_ ## NAME ## _TYPE); |
M0_BASSERT | ( | M0_CONF_OBJ_TYPE_MAX<= | ARRAY_SIZEobj_types | ) |
|
static |