track devices
This commit is contained in:
@ -14,11 +14,16 @@
|
||||
#include <dbLink.h>
|
||||
#include <recGbl.h>
|
||||
#include <alarm.h>
|
||||
#include <ellLib.h>
|
||||
#include <cantProceed.h>
|
||||
|
||||
#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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user