From 0ebd2beda5db575ea759894b254774016fb3b426 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sat, 30 Mar 2013 14:08:22 -0400 Subject: [PATCH] track devices --- devsupApp/src/dbdset.c | 7 +++++++ 1 file changed, 7 insertions(+) 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; }