Q_ENTRY* qConfigParseStr ( Q_ENTRY config,
const char *  str,
char  sepchar 
)

Parse string

Parameters:
config a pointer of Q_ENTRY. NULL can be used for empty.
str key, value pair strings
sepchar separater used in configuration file to divice key and value
Returns:
a pointer of Q_ENTRY in case of successful, otherwise(file not found) returns NULL
See also:
qConfigParseFile
   Q_ENTRY *config = qConfigParseStr(NULL, "key = value\nhello = world", '=');

Definition at line 147 of file qConfig.c.


Generated on Mon Mar 26 07:00:51 2018 for JSOC_Documentation by  doxygen 1.5.7.1