miniini/include/globals.h File Reference

#include "typedefs.h"

Go to the source code of this file.

Functions

bool INISetComment (const char comment_char)
bool INISetSeparator (const char sep)
 Sets name=value separator character.

Function Documentation

bool INISetComment ( const char  comment_char  ) 

Sets comment character Default comment character is ';'. This function changes it to given character. Comment cannot be set space, tab, carriage return, line feed, '[', ']', null character or name=value separator (which is '=' by default).

Parameters:
comment_char New comment character.
Returns:
true if comment character was set succesfully.
false if comment could not be set to this character.

Definition at line 19 of file globals.cpp.

bool INISetSeparator ( const char  sep  ) 

Sets name=value separator character.

Default separator character is '='. This function changes it to given character. Separator cannot be set space, tab, carriage return, line feed, '[', ']', null character or comment character (which is ';' by default).

Parameters:
comment_char New separator character.
Returns:
true if separator character was set succesfully.
false if separator could not be set to this character.

Definition at line 46 of file globals.cpp.

 All Classes Files Functions Defines

MiniINI was written by Ferdinand Majerech kiithsacmp[at]gmail.com
Generated on Wed Jun 16 18:51:43 2010 for MiniINI by  Doxygen 1.6.3