INI files¶
Warning
doxygenfunction: Cannot find function “INI_Free” in doxygen xml output for project “api” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.42.0/build/gammu-doc/xml
Warning
doxygenfunction: Cannot find function “INI_ReadFile” in doxygen xml output for project “api” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.42.0/build/gammu-doc/xml
Warning
doxygenfunction: Cannot find function “INI_FindLastSectionEntry” in doxygen xml output for project “api” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.42.0/build/gammu-doc/xml
Warning
doxygenfunction: Cannot find function “INI_GetValue” in doxygen xml output for project “api” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.42.0/build/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.
- Return
Key value or fallback in case of failure.
- Parameters
cfg: File data as returned by INI_ReadFile.section: Section to scan.key: Name of key to read.fallback: Fallback value.
-
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.
- Return
Key value or fallback in case of failure.
- Parameters
cfg: File data as returned by INI_ReadFile.section: Section to scan.key: Name of key to read.fallback: Fallback value.
Warning
doxygenfunction: Cannot find function “GSM_StringToBool” in doxygen xml output for project “api” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.42.0/build/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
-
struct
_INI_Section¶ Structure used to save section in INI style file