#include "lib/trace.h"
#include "conf/objs/common.h"
#include "conf/onwire_xc.h"
#include "lib/arith.h"
#include "motr/magic.h"
Go to the source code of this file.
|
| M0_BASSERT (offsetof(struct m0_confx_node, xn_header)==0) |
|
static bool | node_check (const void *bob) |
|
| M0_CONF__BOB_DEFINE (m0_conf_node, M0_CONF_NODE_MAGIC, node_check) |
|
| M0_CONF__INVARIANT_DEFINE (node_invariant, m0_conf_node) |
|
static int | node_decode (struct m0_conf_obj *dest, const struct m0_confx_obj *src) |
|
static int | node_encode (struct m0_confx_obj *dest, const struct m0_conf_obj *src) |
|
static bool | node_match (const struct m0_conf_obj *cached, const struct m0_confx_obj *flat) |
|
static int | node_lookup (const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out) |
|
static const struct m0_fid ** | node_downlinks (const struct m0_conf_obj *obj) |
|
static void | node_delete (struct m0_conf_obj *obj) |
|
| M0_CONF__CTOR_DEFINE (node_create, m0_conf_node, &node_ops) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF |
◆ XCAST
◆ M0_BASSERT()
◆ M0_CONF__BOB_DEFINE()
◆ M0_CONF__CTOR_DEFINE()
M0_CONF__CTOR_DEFINE |
( |
node_create |
, |
|
|
m0_conf_node |
, |
|
|
& |
node_ops |
|
) |
| |
◆ M0_CONF__INVARIANT_DEFINE()
◆ node_check()
static bool node_check |
( |
const void * |
bob | ) |
|
|
static |
◆ node_decode()
◆ node_delete()
◆ node_downlinks()
◆ node_encode()
◆ node_lookup()
◆ node_match()
◆ M0_CONF_NODE_TYPE
Initial value:= {
.cot_ftype = {
.ft_id = M0_CONF__NODE_FT_ID,
.ft_name = "conf_node"
},
.cot_create = &node_create,
.cot_xt = &m0_confx_node_xc,
.cot_branch = "u_node",
.cot_xc_init = &m0_xc_m0_confx_node_struct_init,
}
Definition at line 128 of file node.c.
◆ node_ops
Initial value:= {
.coo_invariant = node_invariant,
}
static int node_lookup(const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out)
static int node_decode(struct m0_conf_obj *dest, const struct m0_confx_obj *src)
static bool node_match(const struct m0_conf_obj *cached, const struct m0_confx_obj *flat)
static void node_delete(struct m0_conf_obj *obj)
static const struct m0_fid ** node_downlinks(const struct m0_conf_obj *obj)
static int node_encode(struct m0_confx_obj *dest, const struct m0_conf_obj *src)
Definition at line 115 of file node.c.