version 1.11.4.1, 2013/01/17 13:42:10
|
version 1.11.4.2, 2013/05/26 19:52:29
|
Line 87 _selectAttribute(cfg_root_t * __restrict cfg, const ch
|
Line 87 _selectAttribute(cfg_root_t * __restrict cfg, const ch
|
* @csAttr = Config attribute //{csAttr} = ... |
* @csAttr = Config attribute //{csAttr} = ... |
* return: 0 not found item, -1 error or >0 position in list |
* return: 0 not found item, -1 error or >0 position in list |
*/ |
*/ |
inline int | int |
cfg_findAttribute(cfg_root_t * __restrict cfg, const char *csSec, const char *csAttr) |
cfg_findAttribute(cfg_root_t * __restrict cfg, const char *csSec, const char *csAttr) |
{ |
{ |
struct tagCfg *av, fav; |
struct tagCfg *av, fav; |
Line 220 cfg_setAttribute(cfg_root_t * __restrict cfg, const ch
|
Line 220 cfg_setAttribute(cfg_root_t * __restrict cfg, const ch
|
* @csAttr = Config attribute //{csAttr} = ..., if NULL unset as *any* attribute |
* @csAttr = Config attribute //{csAttr} = ..., if NULL unset as *any* attribute |
* return: NULL item not found or null parameters, !=NULL value const string |
* return: NULL item not found or null parameters, !=NULL value const string |
*/ |
*/ |
inline const char * | const char * |
cfg_getAttribute(cfg_root_t * __restrict cfg, const char *csSec, const char *csAttr) |
cfg_getAttribute(cfg_root_t * __restrict cfg, const char *csSec, const char *csAttr) |
{ |
{ |
struct tagCfg *av; |
struct tagCfg *av; |