version 1.6.4.5, 2012/04/02 16:11:13
|
version 1.7.2.1, 2012/04/05 11:47:03
|
Line 69 _selectAttribute(cfg_root_t * __restrict cfg, const ch
|
Line 69 _selectAttribute(cfg_root_t * __restrict cfg, const ch
|
return RB_FIND(tagRC, cfg, &fav); |
return RB_FIND(tagRC, cfg, &fav); |
} |
} |
|
|
static inline void |
|
_destroyAttribute(struct tagCfg *av) |
|
{ |
|
if (!av) |
|
return; |
|
|
|
} |
|
|
|
/* --------------------------------------------------------------- */ |
/* --------------------------------------------------------------- */ |
|
|
/* |
/* |
Line 262 cfg_loadAttribute(cfg_root_t * __restrict cfg, const c
|
Line 254 cfg_loadAttribute(cfg_root_t * __restrict cfg, const c
|
if (csDefValue) { |
if (csDefValue) { |
AIT_SET_STR(val, csDefValue); |
AIT_SET_STR(val, csDefValue); |
ret = AIT_LEN(val); |
ret = AIT_LEN(val); |
} | } else |
| AIT_INIT(val); |
return ret; |
return ret; |
} |
} |
|
|
Line 271 cfg_loadAttribute(cfg_root_t * __restrict cfg, const c
|
Line 264 cfg_loadAttribute(cfg_root_t * __restrict cfg, const c
|
if (csDefValue) { |
if (csDefValue) { |
AIT_SET_STR(val, csDefValue); |
AIT_SET_STR(val, csDefValue); |
ret = AIT_LEN(val); |
ret = AIT_LEN(val); |
} | } else |
| AIT_INIT(val); |
} else { |
} else { |
/* copy value */ |
/* copy value */ |
AIT_SET_STR(val, AIT_GET_STR(&av->cfg_val)); |
AIT_SET_STR(val, AIT_GET_STR(&av->cfg_val)); |