44 #ifndef REGIFY_UTIL_INI_H
45 #define REGIFY_UTIL_INI_H
RUAPI int32_t ruIniSet(ruIni iniOb, trans_chars section, trans_chars key, trans_chars value)
Set a value in the given ini object.
RUAPI ruIni ruIniNew(void)
Create a new empty ini object.
RUAPI int32_t ruIniGet(ruIni iniOb, trans_chars section, trans_chars key, perm_chars *value)
Retrieves a value from the given ini object.
RUAPI int32_t ruIniWrite(ruIni iniOb, trans_chars filename)
Writes given ini object into given filename.
RUAPI int32_t ruIniSections(ruIni iniOb, ruList *sections)
Returns a list of sections from the given ini object.
RUAPI ruIni ruIniFree(ruIni ini)
Frees the given ini object and its members.
void * ruIni
An opaque type representing an ini object.
Definition: ini.h:56
RUAPI perm_chars ruIniGetDef(ruIni iniOb, trans_chars section, trans_chars key, trans_chars def, int32_t *code)
Retrieves a value or given default from the given ini object.
RUAPI int32_t ruIniRead(trans_chars filename, ruIni *iniOb)
Parse given INI-style file. May have [section]s, name=value pairs (whitespace stripped),...
RUAPI int32_t ruIniKeys(ruIni iniOb, trans_chars section, ruList *keys)
Returns a list of keys from given section or global.
void * ruList
Opaque pointer to list object. See List Collection.
Definition: list.h:103
const char * trans_chars
A transient NULL terminated string pointer.
Definition: regify-util.h:186
const char * perm_chars
A permanent NULL terminated string pointer.
Definition: regify-util.h:176