libconf/test.c
2020-06-08 16:46:34 +08:00

7 lines
223 B
C

#include "libconf.h"
int main() {
printf("%s\n", read_conf("test.conf", "global", "IP_SEGMENT"));
printf("%s\n", read_conf("test.conf", "global", "a"));
printf("%s\n", read_conf("test.conf", "http", "port"));
}