#include <glob.h>
Conf DAG traversal context.
Prepared by m0_conf_glob_init(), used and modified by m0_conf_glob() calls.
Definition at line 81 of file glob.h.
◆ cg_cache
◆ cg_depth
Current position in .cg_path[] and .cg_trace[].
Definition at line 122 of file glob.h.
◆ cg_down_p
◆ cg_errcode
◆ cg_errfunc
If set, this function will be called in case of traversal error.
If .cg_errfunc() returns nonzero, or M0_CONF_GLOB_ERR is set in .cg_flags, m0_conf_glob() will terminate after the call to .cg_errfunc().
A traversal error occurs when the path cannot be went through. This may happen if some path component refers to nonexistent object (-ENOENT), or a stub object is reached (-EPERM).
- See also
- m0_conf_glob_error()
Definition at line 98 of file glob.h.
◆ cg_errobj
◆ cg_errpath
const struct m0_fid* cg_errpath |
◆ cg_flags
Bitwise OR of zero or more M0_CONF_GLOB_* symbolic constants.
Definition at line 83 of file glob.h.
◆ cg_origin
Configuration object to start traversal from.
Definition at line 108 of file glob.h.
◆ cg_path
Path to target object(s).
Relative to .cg_origin object. Terminated with M0_FID0.
Definition at line 116 of file glob.h.
◆ cg_trace
The documentation for this struct was generated from the following file: