Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
ini.h File Reference
#include <stdio.h>
Include dependency graph for ini.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INI_HANDLER_LINENO   0
 
#define INI_ALLOW_MULTILINE   1
 
#define INI_ALLOW_BOM   1
 
#define INI_ALLOW_INLINE_COMMENTS   1
 
#define INI_INLINE_COMMENT_PREFIXES   ";"
 
#define INI_USE_STACK   1
 
#define INI_STOP_ON_FIRST_ERROR   0
 
#define INI_MAX_LINE   200
 

Typedefs

typedef int(* ini_handler) (void *user, const char *section, const char *name, const char *value)
 
typedef char *(* ini_reader) (char *str, int num, void *stream)
 

Functions

int ini_parse (const char *filename, ini_handler handler, void *user)
 
int ini_parse_file (FILE *file, ini_handler handler, void *user)
 
int ini_parse_stream (ini_reader reader, void *stream, ini_handler handler, void *user)
 

Macro Definition Documentation

◆ INI_ALLOW_BOM

#define INI_ALLOW_BOM   1

◆ INI_ALLOW_INLINE_COMMENTS

#define INI_ALLOW_INLINE_COMMENTS   1

◆ INI_ALLOW_MULTILINE

#define INI_ALLOW_MULTILINE   1

◆ INI_HANDLER_LINENO

#define INI_HANDLER_LINENO   0

◆ INI_INLINE_COMMENT_PREFIXES

#define INI_INLINE_COMMENT_PREFIXES   ";"

◆ INI_MAX_LINE

#define INI_MAX_LINE   200

◆ INI_STOP_ON_FIRST_ERROR

#define INI_STOP_ON_FIRST_ERROR   0

◆ INI_USE_STACK

#define INI_USE_STACK   1

Typedef Documentation

◆ ini_handler

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

◆ ini_reader

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

Function Documentation

◆ ini_parse()

int ini_parse ( const char *  filename,
ini_handler  handler,
void *  user 
)

◆ ini_parse_file()

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

◆ ini_parse_stream()

int ini_parse_stream ( ini_reader  reader,
void *  stream,
ini_handler  handler,
void *  user 
)