cobf
PE imports obfuscator
ini.c File Reference
#include "ini.h"
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Macros

#define INI_C
 

Functions

int parse_ini_file (const char *f_path, ini_line_cb handler, void *data)
 Parse ini file, supply the data to a callback. More...
 

Detailed Description

This file contains the main functionality of the ini parser.

Definition in file ini.c.

Macro Definition Documentation

◆ INI_C

#define INI_C

Definition at line 10 of file ini.c.

Function Documentation

◆ 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.

Parameters
[in]f_pathThe path for the ini file.
[in]handlerThe callback function.
[in]dataExtra pointer to pass to the callback.
Returns
1 if done successfully, 0 if not.

Definition at line 22 of file ini.c.