Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
INI Struct Reference
A structure that represent a section node. More...
#include <FileIni.h>
Public Member Functions | |
| LPINI | IniLoad (char *ptrFileName) |
| LPINI | IniGetSection (char *ptrSectionName, LPINI lpinIni) |
| LPINIKEY | IniGetKey (char *ptrVarName, LPINI lpinSection) |
| Gets a pointer to a key. | |
Detailed Description
A structure that represent a section node.
Definition at line 25 of file FileIni.h.
Member Function Documentation
Gets a pointer to a key.
- Parameters:
-
[in] ptrVarName A pointer to a NULL-terminated string that stores the name of the needed key. [in] lpinSection A pointer to an INI structure that represents a section (opened with IniGetSection() or IniCreateSection()).
- Returns:
- Returns a pointer to an INIKEY structure that represents the needed key. If a error occurs, the return value is NULL.
Gets a pointer to a section.
- Parameters:
-
ptrSectionFile A pointer to a NULL-terminated string that stores the name of the needed section. lpinIni A pointer to an INI structure created with IniLoad().
- Returns:
- Returns a pointer to an INI structure that represents the needed section. If a error occurs, the return value is NULL.
| LPINI IniLoad | ( | char * | ptrFileName ) |
Loads and parses an Ini file into memory.
- Parameters:
-
ptrFile A pointer to a NULL-terminated string that contains the name of the file to load. If this parameters is NULL, the function create a void Ini file in memory.
- Returns:
- Returns a pointer to an INI structure that represents the loaded file. If a error occurs, the return value is NULL.
Generated on Sat Jul 16 2022 22:00:53 by
1.7.2