File ini_parser.c¶
FileList > base > ini_parser.c
Go to the source code of this file
#include "config.h"#include "porting.h"#include "ini_parser.h"#include "chartype.h"#include "error_manager.h"#include "memory_wrapper.hpp"
Public Types¶
| Type | Name |
|---|---|
| typedef enum ini_line_status | INI_LINE_STATUS |
| enum | ini_line_status |
Public Functions¶
Public Static Functions¶
| Type | Name |
|---|---|
| void * | ini_dblalloc (void * ptr, int size) |
| const char * | ini_get_internal (INI_TABLE * ini, const char * key, const char * def, int * lineno) |
| INI_LINE_STATUS | ini_parse_line (char * input_line, char * section, char * key, char * value) |
| char * | ini_str_lower (const char * s) |
| char * | ini_str_trim (char * s) |
| void | ini_table_free (INI_TABLE * vd) |
| const char * | ini_table_get (INI_TABLE * ini, char * key, const char * def, int * lineno) |
| unsigned int | ini_table_hash (char * key) |
| INI_TABLE * | ini_table_new (int size) |
| int | ini_table_set (INI_TABLE * vd, char * key, char * val, int lineno) |
| void | ini_table_unset (INI_TABLE * ini, char * key) |
Macros¶
| Type | Name |
|---|---|
| define | INI_BUFSIZ (512) |
| define | INI_INVALID_KEY (([**char**](broker__monitor_8c.md#function-timeout)\*)-1) |
Public Types Documentation¶
typedef INI_LINE_STATUS¶
enum ini_line_status¶
enum ini_line_status {
LINE_UNPROCESSED,
LINE_ERROR,
LINE_EMPTY,
LINE_COMMENT,
LINE_SECTION,
LINE_VALUE
};
Public Functions Documentation¶
function ini_findsec¶
function ini_getfloat¶
function ini_gethex¶
function ini_getint¶
function ini_getsecname¶
function ini_getstr¶
const char * ini_getstr (
INI_TABLE * ini,
const char * sec,
const char * key,
const char * def,
int * lineno
)
function ini_getuint¶
function ini_getuint_max¶
int ini_getuint_max (
INI_TABLE * ini,
const char * sec,
const char * key,
int def,
int max,
int * lineno
)
function ini_getuint_min¶
int ini_getuint_min (
INI_TABLE * ini,
const char * sec,
const char * key,
int def,
int min,
int * lineno
)
function ini_hassec¶
function ini_parser_free¶
function ini_parser_load¶
function ini_seccmp¶
Public Static Functions Documentation¶
function ini_dblalloc¶
function ini_get_internal¶
static const char * ini_get_internal (
INI_TABLE * ini,
const char * key,
const char * def,
int * lineno
)
function ini_parse_line¶
static INI_LINE_STATUS ini_parse_line (
char * input_line,
char * section,
char * key,
char * value
)
function ini_str_lower¶
function ini_str_trim¶
function ini_table_free¶
function ini_table_get¶
function ini_table_hash¶
function ini_table_new¶
function ini_table_set¶
function ini_table_unset¶
Macro Definition Documentation¶
define INI_BUFSIZ¶
define INI_INVALID_KEY¶
The documentation for this class was generated from the following file cubrid/src/base/ini_parser.c