宏定义 | |
#define | MAX_SECTION 50 |
#define | MAX_NAME 50 |
函数 | |
static char * | rstrip (char *s) |
static char * | lskip (const char *s) |
static char * | find_char_or_comment (const char *s, char c) |
static char * | strncpy0 (char *dest, const char *src, size_t size) |
int | ini_parse_file (FILE *file, int(*handler)(void *, const char *, const char *, const char *), void *user) |
int | ini_parse (const char *filename, int(*handler)(void *, const char *, const char *, const char *), void *user) |
#define MAX_NAME 50 |
#define MAX_SECTION 50 |
|
static |
int ini_parse | ( | const char * | filename, |
int(*)(void *, const char *, const char *, const char *) | handler, | ||
void * | user | ||
) |
int ini_parse_file | ( | FILE * | file, |
int(*)(void *, const char *, const char *, const char *) | handler, | ||
void * | user | ||
) |
|
static |
|
static |
|
static |