Diff for /libaitcfg/inc/aitcfg.h between versions 1.6.4.2 and 1.6.4.3

version 1.6.4.2, 2012/04/02 15:12:15 version 1.6.4.3, 2012/04/02 15:39:55
Line 193  inline const char *cfg_getAttribute(cfg_root_t * __res Line 193  inline const char *cfg_getAttribute(cfg_root_t * __res
  */   */
 int cfg_setAttribute(cfg_root_t * __restrict cfg, const char *csSec,   int cfg_setAttribute(cfg_root_t * __restrict cfg, const char *csSec, 
                 const char *csAttr, const char *csVal);                  const char *csAttr, const char *csVal);
   
 #if 0  
 /*  /*
 * cfg_UnsetAttribute() Unset item from config list and free resources * cfg_unsetAttribute() - Unset item from config and free resources
 * @cfg = Head list element *
  * @cfg = Config root
  * @csSec = Config section //[{csSec}], if NULL unset in *default* section   * @csSec = Config section //[{csSec}], if NULL unset in *default* section
 * @csAttr = Config attribute //{csAttr} = ..., if NULL unset as *any* attribute * @csAttr = Config attribute //{csAttr} = ...
 * return: 0 item not found, -1 error: null parameters; >0 position in list * return: 0 item not found, -1 error or 1 removed item
*/ */
int cfg_UnsetAttribute(sl_config * __restrict cfg, const u_char *csSec, const u_char *csAttr);int cfg_unsetAttribute(cfg_root_t * __restrict cfg, const char *csSec, 
                 const char *csAttr);
   
   #if 0
 /*  /*
  * cfg_LoadAttribute() Extended get attribute, if not found item return *default value*   * cfg_LoadAttribute() Extended get attribute, if not found item return *default value*
  * @cfg = Head list element   * @cfg = Head list element

Removed from v.1.6.4.2  
changed lines
  Added in v.1.6.4.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>