acl  3.5.3.0
acl_loadcfg.h 文件参考
#include "acl_define.h"
#include "acl_array.h"
+ acl_loadcfg.h 的引用(Include)关系图:
+ 此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  ACL_CFG_LINE
 
struct  ACL_CFG_FN
 

类型定义

typedef struct ACL_CFG_PARSER ACL_CFG_PARSER
 
typedef struct ACL_CFG_LINE ACL_CFG_LINE
 
typedef struct ACL_CFG_FN ACL_CFG_FN
 
typedef void(* ACL_CFG_WALK_FN) (void *arg)
 

函数

ACL_API ACL_CFG_PARSERacl_cfg_parser_load (const char *pathname, const char *delimiter)
 
ACL_API void acl_cfg_parser_free (ACL_CFG_PARSER *parser)
 
ACL_API void acl_cfg_parser_walk (ACL_CFG_PARSER *parser, ACL_CFG_WALK_FN walk_fn)
 
ACL_API int acl_cfg_line_replace (ACL_CFG_LINE *cfg_line, const char **value, int from, int to)
 
ACL_API ACL_CFG_LINEacl_cfg_parser_index (const ACL_CFG_PARSER *parser, int idx)
 
ACL_API int acl_cfg_parser_size (const ACL_CFG_PARSER *parser)
 
ACL_API int acl_cfg_parser_dump (const ACL_CFG_PARSER *parser, const char *pathname, const char *delimiter)
 
ACL_API int acl_cfg_parser_append (ACL_CFG_PARSER *parser, ACL_CFG_LINE *cfg_line)
 
ACL_API int acl_cfg_parser_delete (ACL_CFG_PARSER *parser, const char *name)
 
ACL_API ACL_CFG_LINEacl_cfg_line_new (const char **value, int ncount)
 

类型定义说明

◆ ACL_CFG_FN

typedef struct ACL_CFG_FN ACL_CFG_FN

◆ ACL_CFG_LINE

typedef struct ACL_CFG_LINE ACL_CFG_LINE

◆ ACL_CFG_PARSER

在文件 acl_loadcfg.h11 行定义.

◆ ACL_CFG_WALK_FN

typedef void(* ACL_CFG_WALK_FN) (void *arg)

在文件 acl_loadcfg.h29 行定义.

函数说明

◆ acl_cfg_line_new()

ACL_API ACL_CFG_LINE* acl_cfg_line_new ( const char **  value,
int  ncount 
)

◆ acl_cfg_line_replace()

ACL_API int acl_cfg_line_replace ( ACL_CFG_LINE cfg_line,
const char **  value,
int  from,
int  to 
)

◆ acl_cfg_parser_append()

ACL_API int acl_cfg_parser_append ( ACL_CFG_PARSER parser,
ACL_CFG_LINE cfg_line 
)

◆ acl_cfg_parser_delete()

ACL_API int acl_cfg_parser_delete ( ACL_CFG_PARSER parser,
const char *  name 
)

◆ acl_cfg_parser_dump()

ACL_API int acl_cfg_parser_dump ( const ACL_CFG_PARSER parser,
const char *  pathname,
const char *  delimiter 
)

◆ acl_cfg_parser_free()

ACL_API void acl_cfg_parser_free ( ACL_CFG_PARSER parser)

◆ acl_cfg_parser_index()

ACL_API ACL_CFG_LINE* acl_cfg_parser_index ( const ACL_CFG_PARSER parser,
int  idx 
)

◆ acl_cfg_parser_load()

ACL_API ACL_CFG_PARSER* acl_cfg_parser_load ( const char *  pathname,
const char *  delimiter 
)

◆ acl_cfg_parser_size()

ACL_API int acl_cfg_parser_size ( const ACL_CFG_PARSER parser)

◆ acl_cfg_parser_walk()

ACL_API void acl_cfg_parser_walk ( ACL_CFG_PARSER parser,
ACL_CFG_WALK_FN  walk_fn 
)