Gammu internals
1.38.0
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <gammu-config.h>
#include <gammu-inifile.h>
#include "coding/coding.h"
#include "../../helper/string.h"
Go to the source code of this file.
Functions | |
GSM_Error | INI_ReadFile (const char *FileName, gboolean Unicode, INI_Section **result) |
int | INI_GetInt (INI_Section *cfg, const unsigned char *section, const unsigned char *key, int fallback) |
gboolean | INI_GetBool (INI_Section *cfg, const unsigned char *section, const unsigned char *key, gboolean fallback) |
unsigned char * | INI_GetValue (INI_Section *cfg, const unsigned char *section, const unsigned char *key, const gboolean Unicode) |
INI_Entry * | INI_FindLastSectionEntry (INI_Section *file_info, const unsigned char *section, const gboolean Unicode) |
void | INI_Free_Entries (INI_Entry *entry) |
void | INI_Free (INI_Section *head) |
gboolean | GSM_StringToBool (const char *value) |
void INI_Free_Entries | ( | INI_Entry * | entry | ) |
Definition at line 437 of file cfg.c.
References _INI_Entry::EntryName, _INI_Entry::EntryValue, and _INI_Entry::Next.
Referenced by INI_Free().
gboolean INI_GetBool | ( | INI_Section * | cfg, |
const unsigned char * | section, | ||
const unsigned char * | key, | ||
gboolean | fallback | ||
) |
Returns integer value from configuration.
Definition at line 344 of file cfg.c.
References FALSE, GSM_StringToBool(), and INI_GetValue().
Referenced by GSM_ReadConfig().
int INI_GetInt | ( | INI_Section * | cfg, |
const unsigned char * | section, | ||
const unsigned char * | key, | ||
int | fallback | ||
) |
Returns integer value from configuration.
Definition at line 329 of file cfg.c.
References FALSE, and INI_GetValue().