|
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Go to the documentation of this file.
21 #ifndef INI_HANDLER_LINENO
22 #define INI_HANDLER_LINENO 0
26 #if INI_HANDLER_LINENO
27 typedef int (*
ini_handler)(
void* user,
const char* section,
28 const char* name,
const char* value,
32 const char* name,
const char* value);
36 typedef char* (*ini_reader)(
char* str,
int num,
void* stream);
65 #ifndef INI_ALLOW_MULTILINE
66 #define INI_ALLOW_MULTILINE 1
72 #define INI_ALLOW_BOM 1
78 #ifndef INI_ALLOW_INLINE_COMMENTS
79 #define INI_ALLOW_INLINE_COMMENTS 1
81 #ifndef INI_INLINE_COMMENT_PREFIXES
82 #define INI_INLINE_COMMENT_PREFIXES ";"
87 #define INI_USE_STACK 1
91 #ifndef INI_STOP_ON_FIRST_ERROR
92 #define INI_STOP_ON_FIRST_ERROR 0
97 #define INI_MAX_LINE 200
char *(* ini_reader)(char *str, int num, void *stream)
Definition: ini.h:36
int ini_parse(const char *filename, ini_handler handler, void *user)
Definition: ini.c:190
int ini_parse_stream(ini_reader reader, void *stream, ini_handler handler, void *user)
Definition: ini.c:73
int(* ini_handler)(void *user, const char *section, const char *name, const char *value)
Definition: ini.h:31
int ini_parse_file(FILE *file, ini_handler handler, void *user)
Definition: ini.c:184