Motr  M0
glob.c File Reference
#include "conf/glob.h"
#include "conf/cache.h"
#include "conf/obj.h"
#include "conf/ut/common.h"
#include "lib/memory.h"
#include "lib/errno.h"
#include "lib/string.h"
#include "ut/misc.h"
#include "ut/ut.h"
Include dependency graph for glob.c:

Go to the source code of this file.

Data Structures

struct  err_entry
 

Functions

static int errfunc (int errcode, const struct m0_conf_obj *obj, const struct m0_fid *path)
 
static void test_conf_glob (void)
 
static void test_conf_glob_errors (void)
 
static int conf_glob_ut_init (void)
 
static int conf_glob_ut_fini (void)
 

Variables

static struct err_entry g_err_accum [8]
 
struct m0_ut_suite conf_glob_ut
 

Function Documentation

◆ conf_glob_ut_fini()

static int conf_glob_ut_fini ( void  )
static

Definition at line 228 of file glob.c.

Here is the call graph for this function:

◆ conf_glob_ut_init()

static int conf_glob_ut_init ( void  )
static

Definition at line 217 of file glob.c.

Here is the call graph for this function:

◆ errfunc()

static int errfunc ( int  errcode,
const struct m0_conf_obj obj,
const struct m0_fid path 
)
static

Definition at line 200 of file glob.c.

Here is the caller graph for this function:

◆ test_conf_glob()

static void test_conf_glob ( void  )
static

Definition at line 41 of file glob.c.

Here is the call graph for this function:

◆ test_conf_glob_errors()

static void test_conf_glob_errors ( void  )
static

Definition at line 121 of file glob.c.

Here is the call graph for this function:

Variable Documentation

◆ conf_glob_ut

struct m0_ut_suite conf_glob_ut
Initial value:
= {
.ts_name = "conf-glob-ut",
.ts_init = conf_glob_ut_init,
.ts_fini = conf_glob_ut_fini,
.ts_tests = {
{ "glob", test_conf_glob },
{ "glob-errors", test_conf_glob_errors },
{ NULL, NULL }
}
}
#define NULL
Definition: misc.h:38
static int conf_glob_ut_fini(void)
Definition: glob.c:228
static void test_conf_glob(void)
Definition: glob.c:41
static void test_conf_glob_errors(void)
Definition: glob.c:121
static int conf_glob_ut_init(void)
Definition: glob.c:217

Definition at line 233 of file glob.c.

◆ g_err_accum

struct err_entry g_err_accum[8]
static