22 #ifndef __MOTR_CONF_GLOB_H__ 23 #define __MOTR_CONF_GLOB_H__ 74 const struct m0_fid *path);
142 #define m0_conf_glob_init(glob, flags, errfunc, cache, origin, ...) \ 143 m0_conf__glob_init((glob), (flags), (errfunc), (cache), (origin), \ 144 (const struct m0_fid []){ __VA_ARGS__, M0_FID0 }) 149 const struct m0_fid *path);
183 char *
buf,
size_t buflen);
const struct m0_conf_obj * cg_trace[M0_CONF_PATH_MAX+1]
int const char const void size_t int flags
const struct m0_conf_obj * cg_origin
const struct m0_conf_cache * cg_cache
m0_conf_glob_errfunc_t cg_errfunc
M0_INTERNAL void m0_conf__glob_init(struct m0_conf_glob *glob, int flags, m0_conf_glob_errfunc_t errfunc, const struct m0_conf_cache *cache, const struct m0_conf_obj *origin, const struct m0_fid *path)
int(* m0_conf_glob_errfunc_t)(int errcode, const struct m0_conf_obj *obj, const struct m0_fid *path)
M0_INTERNAL char * m0_conf_glob_error(const struct m0_conf_glob *glob, char *buf, size_t buflen)
static int errfunc(int errcode, const struct m0_conf_obj *obj, const struct m0_fid *path)
const struct m0_conf_obj * cg_errobj
M0_INTERNAL int m0_conf_glob(struct m0_conf_glob *glob, uint32_t nr, const struct m0_conf_obj **objv)
struct m0_fid cg_path[M0_CONF_PATH_MAX+1]
const struct m0_fid * cg_errpath