18#include "hitls_build.h"
21#include "bsl_conf_def.h"
27typedef struct BSL_CONF_Struct {
28 const BSL_CONF_Method *meth;
53const BSL_CONF_Method *BSL_CONF_DefaultMethod(
void);
65BSL_CONF *BSL_CONF_New(
const BSL_CONF_Method *meth);
74void BSL_CONF_Free(BSL_CONF *conf);
89int32_t BSL_CONF_LoadByUIO(BSL_CONF *conf,
BSL_UIO *uio);
104int32_t BSL_CONF_Load(BSL_CONF *conf,
const char *file);
117BslList *BSL_CONF_GetSection(
const BSL_CONF *conf,
const char *section);
135int32_t BSL_CONF_GetString(
const BSL_CONF *conf,
const char *section,
const char *name,
char *str, uint32_t *strLen);
152int32_t BSL_CONF_GetNumber(
const BSL_CONF *conf,
const char *section,
const char *name,
long *value);
167int32_t BSL_CONF_Dump(
const BSL_CONF *conf,
const char *file);
182int32_t BSL_CONF_DumpUio(
const BSL_CONF *conf,
BSL_UIO *uio);
198char **BSL_CONF_GetSectionNames(
const BSL_CONF *conf, uint32_t *namesSize);
struct UIO_ControlBlock BSL_UIO
UIO module control structure
定义 bsl_uio.h:37