--- libaitcfg/inc/aitcfg.h 2014/01/29 23:48:34 1.12 +++ libaitcfg/inc/aitcfg.h 2014/01/30 08:13:09 1.12.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcfg.h,v 1.12 2014/01/29 23:48:34 misho Exp $ +* $Id: aitcfg.h,v 1.12.2.1 2014/01/30 08:13:09 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -56,13 +56,14 @@ struct tagCfg { ait_val_t cfg_attr; ait_val_t cfg_val; - SLIST_ENTRY(tagCfg) cfg_next; + TAILQ_ENTRY(tagCfg) cfg_next; RB_ENTRY(tagCfg) cfg_node; }; typedef struct tagRC { pthread_mutex_t rc_mtx; - struct tagCfg *slh_first; + struct tagCfg *tqh_first; + struct tagCfg **tqh_last; struct tagCfg *rbh_root; } cfg_root_t; #define CFG_RC_LOCK(x) pthread_mutex_lock(&(x)->rc_mtx)