cobf
PE imports obfuscator
ini.h
Go to the documentation of this file.
1 
9 #ifndef INI_H
10 #define INI_H
11 
12 #define MAX_INI_LINE 0x100
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
26  typedef void (*ini_line_cb)(void* data, unsigned int line, const char* section,
27  const char* name, const char* value);
28 
36  int parse_ini_file(const char* f_path, ini_line_cb handler, void* data);
37 
38 #ifdef __cplusplus
39 };
40 #endif
41 #endif // !INI_H.
ini_line_cb
void(* ini_line_cb)(void *data, unsigned int line, const char *section, const char *name, const char *value)
Callback with the data found at each line.
Definition: ini.h:26
parse_ini_file
int parse_ini_file(const char *f_path, ini_line_cb handler, void *data)
Parse ini file, supply the data to a callback.
Definition: ini.c:22