INI files

Warning

doxygenfunction: Unable to resolve multiple matches for function “INI_Free” with arguments () in doxygen xml output for project “project0” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.36.5/build/gammu-doc/xml. Potential matches:

- void INI_Free(INI_Section *)

Warning

doxygenfunction: Unable to resolve multiple matches for function “INI_ReadFile” with arguments () in doxygen xml output for project “project0” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.36.5/build/gammu-doc/xml. Potential matches:

- GSM_Error INI_ReadFile(const char *, gboolean, INI_Section **)

Warning

doxygenfunction: Unable to resolve multiple matches for function “INI_FindLastSectionEntry” with arguments () in doxygen xml output for project “project0” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.36.5/build/gammu-doc/xml. Potential matches:

- INI_Entry * INI_FindLastSectionEntry(INI_Section *, const unsigned char *, const gboolean)

Warning

doxygenfunction: Unable to resolve multiple matches for function “INI_GetValue” with arguments () in doxygen xml output for project “project0” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.36.5/build/gammu-doc/xml. Potential matches:

- unsigned char * INI_GetValue(INI_Section *, const unsigned char *, const unsigned char *, const gboolean)
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: Unable to resolve multiple matches for function “GSM_StringToBool” with arguments () in doxygen xml output for project “project0” from directory: /home/abuild/rpmbuild/BUILD/gammu-1.36.5/build/gammu-doc/xml. Potential matches:

- gboolean GSM_StringToBool(const char *)
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

Previous topic

Info

Next topic

Keys

This Page