ini

ini

Functions

int (*ini_handler) ()
char * (*ini_reader) ()
int ini_parse_file ()

Types and Values

Description

Functions

ini_handler ()

int
(*ini_handler) (void *user,
                const char *section,
                const char *name,
                const char *value,
                int lineno);

ini_reader ()

char *
(*ini_reader) (char *str,
               int num,
               void *stream);

ini_parse_file ()

int
ini_parse_file (FILE *file,
                ini_handler handler,
                void *user);

Types and Values

INI_HANDLER_LINENO

#define INI_HANDLER_LINENO 0

INI_ALLOW_MULTILINE

#define INI_ALLOW_MULTILINE 1

INI_ALLOW_BOM

#define INI_ALLOW_BOM 1

INI_START_COMMENT_PREFIXES

#define INI_START_COMMENT_PREFIXES ";#"

INI_ALLOW_INLINE_COMMENTS

#define INI_ALLOW_INLINE_COMMENTS 1

INI_INLINE_COMMENT_PREFIXES

#define INI_INLINE_COMMENT_PREFIXES ";"

INI_USE_STACK

#define INI_USE_STACK 1

INI_MAX_LINE

#define INI_MAX_LINE 200

INI_ALLOW_REALLOC

#define INI_ALLOW_REALLOC 0

INI_INITIAL_ALLOC

#define INI_INITIAL_ALLOC 200

INI_STOP_ON_FIRST_ERROR

#define INI_STOP_ON_FIRST_ERROR 0