INI files
Warning
doxygenfunction: Cannot find function “INI_Free” in doxygen xml output for project “api” from directory: /home/runner/work/gammu/gammu/build-configure/gammu-doc/xml
Warning
doxygenfunction: Cannot find function “INI_ReadFile” in doxygen xml output for project “api” from directory: /home/runner/work/gammu/gammu/build-configure/gammu-doc/xml
Warning
doxygenfunction: Cannot find function “INI_FindLastSectionEntry” in doxygen xml output for project “api” from directory: /home/runner/work/gammu/gammu/build-configure/gammu-doc/xml
Warning
doxygenfunction: Cannot find function “INI_GetValue” in doxygen xml output for project “api” from directory: /home/runner/work/gammu/gammu/build-configure/gammu-doc/xml
-
int INI_GetInt(INI_Section *cfg, const unsigned char *section, const unsigned char *key, int fallback)
Returns integer value from configuration. The file is automatically handled as not unicode.
- Parameters:
cfg – File data as returned by INI_ReadFile.
section – Section to scan.
key – Name of key to read.
fallback – Fallback value.
- Returns:
Key value or fallback in case of failure.
-
gboolean INI_GetBool(INI_Section *cfg, const unsigned char *section, const unsigned char *key, gboolean fallback)
Returns boolean value from configuration. The file is automatically handled as not unicode.
- Parameters:
cfg – File data as returned by INI_ReadFile.
section – Section to scan.
key – Name of key to read.
fallback – Fallback value.
- Returns:
Key value or fallback in case of failure.
Warning
doxygenfunction: Cannot find function “GSM_StringToBool” in doxygen xml output for project “api” from directory: /home/runner/work/gammu/gammu/build-configure/gammu-doc/xml
-
typedef struct _INI_Entry INI_Entry
Private structure holding information INI entry.
-
typedef struct _INI_Section INI_Section
Private structure holding information INI section.
-
struct _INI_Entry
Structure used to save value for single key in INI style file
- Todo:
This should be probably private.
-
struct _INI_Section
Structure used to save section in INI style file
- Todo:
This should be probably private.