#include "lib/trace.h"
#include "conf/objs/common.h"
#include "conf/onwire_xc.h"
#include "motr/magic.h"
Go to the source code of this file.
|
| M0_BASSERT (offsetof(struct m0_confx_site, xi_header)==0) |
|
static bool | site_check (const void *bob) |
|
| M0_CONF__BOB_DEFINE (m0_conf_site, M0_CONF_SITE_MAGIC, site_check) |
|
| M0_CONF__INVARIANT_DEFINE (site_invariant, m0_conf_site) |
|
static int | site_decode (struct m0_conf_obj *dest, const struct m0_confx_obj *src) |
|
static int | site_encode (struct m0_confx_obj *dest, const struct m0_conf_obj *src) |
|
static bool | site_match (const struct m0_conf_obj *cached, const struct m0_confx_obj *flat) |
|
static int | site_lookup (const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out) |
|
static const struct m0_fid ** | site_downlinks (const struct m0_conf_obj *obj) |
|
static void | site_delete (struct m0_conf_obj *obj) |
|
| M0_CONF__CTOR_DEFINE (site_create, m0_conf_site, &site_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 |
( |
site_create |
, |
|
|
m0_conf_site |
, |
|
|
& |
site_ops |
|
) |
| |
◆ M0_CONF__INVARIANT_DEFINE()
◆ site_check()
static bool site_check |
( |
const void * |
bob | ) |
|
|
static |
◆ site_decode()
◆ site_delete()
◆ site_downlinks()
◆ site_encode()
◆ site_lookup()
◆ site_match()
◆ M0_CONF_SITE_TYPE
Initial value:= {
.cot_ftype = {
.ft_id = M0_CONF__SITE_FT_ID,
.ft_name = "conf_site"
},
.cot_create = &site_create,
.cot_xt = &m0_confx_site_xc,
.cot_branch = "u_site",
.cot_xc_init = &m0_xc_m0_confx_site_struct_init,
}
Definition at line 121 of file site.c.
◆ site_ops
Initial value:= {
.coo_invariant = site_invariant,
}
static int site_decode(struct m0_conf_obj *dest, const struct m0_confx_obj *src)
static void site_delete(struct m0_conf_obj *obj)
static int site_encode(struct m0_confx_obj *dest, const struct m0_conf_obj *src)
static const struct m0_fid ** site_downlinks(const struct m0_conf_obj *obj)
static bool site_match(const struct m0_conf_obj *cached, const struct m0_confx_obj *flat)
static int site_lookup(const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out)
Definition at line 108 of file site.c.