diff --git a/devsupApp/src/dbdset.c b/devsupApp/src/dbdset.c index 7b09902..32eb69d 100644 --- a/devsupApp/src/dbdset.c +++ b/devsupApp/src/dbdset.c @@ -14,11 +14,16 @@ #include #include #include +#include #include #include "pydevsup.h" +static ELLLIST devices = ELLLIST_INIT; + typedef struct { + ELLNODE node; + dbCommon *precord; DBLINK *plink; @@ -143,6 +148,8 @@ static long add_record(dbCommon *prec) return 0; } + ellAdd(&devices, &priv->node); + dbFinishEntry(&ent); prec->dpvt = priv; }