libkyconf(3)

libkyconf3

Kysdk配置文件处理库,支持标准格式、xml(未实现)、json(未实现)的配置文件处理,包括配置文件的读与写操作

Usage

#include <libkyconf.h>

Functions

int kdk_conf_init (const char *confpath)
初始化配置文件 void kdk_conf_destroy (int id)
销毁指定的配置文件句柄 int kdk_conf_reload (int id)
重新载入配置文件 const char * kdk_conf_get_value (int id, const char *group, const char *key)
获取指定配置项的值 char **const kdk_conf_list_key (int id, const char *group)
列举id对应配置文件的指定Group下的key值,结尾以NULL指针表示 char **const kdk_conf_list_group (int id)
列举id对应配置文件的所有Group,结尾以NULL指针表示 void kdk_config_freeall (char **ptr)
用于回收字符串列表

Detailed Description

KYSDK配置文件处理库,支持标准格式、XML(未实现)、JSON(未实现)的配置文件处理,包括配置文件的读与写操作

Conforming to

These functions are as per the withdrawn POSIX.1e draft specification. The following functions are Linux extensions: kdk_conf_init(), kdk_conf_destroy(), kdk_conf_reload(), kdk_conf_get_value(), kdk_conf_list_key(), kdk_conf_list_group() and kdk_config_freeall().

Author

Generated automatically by Doxygen for libkyconf.h from the source code.

From libkysdk-base 3.0.1.1-3 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.