Files
epics-base/src/db/dbTest.h

53 lines
1.8 KiB
C

/*************************************************************************\
* Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
#ifndef INC_dbTest_H
#define INC_dbTest_H
#include "shareLib.h"
#ifdef __cplusplus
extern "C" {
#endif
/*dbAddr info */
epicsShareFunc long epicsShareAPI dba(const char *pname);
/*list records*/
epicsShareFunc long epicsShareAPI dbl(
const char *precordTypename,const char *fields);
/*list number of records of each type*/
epicsShareFunc long epicsShareAPI dbnr(int verbose);
/* list aliases */
epicsShareFunc long epicsShareAPI dbla(const char *pmask);
/*list records with mask*/
epicsShareFunc long epicsShareAPI dbgrep(const char *pmask);
/*get field value*/
epicsShareFunc long epicsShareAPI dbgf(const char *pname);
/*put field value*/
epicsShareFunc long epicsShareAPI dbpf(const char *pname,const char *pvalue);
/*print record*/
epicsShareFunc long epicsShareAPI dbpr(const char *pname,int interest_level);
/*test record*/
epicsShareFunc long epicsShareAPI dbtr(const char *pname);
/*test get field*/
epicsShareFunc long epicsShareAPI dbtgf(const char *pname);
/*test put field*/
epicsShareFunc long epicsShareAPI dbtpf(const char *pname,const char *pvalue);
/*I/O report */
epicsShareFunc long epicsShareAPI dbior(
const char *pdrvName,int interest_level);
/*Hardware Configuration Report*/
epicsShareFunc int epicsShareAPI dbhcr(void);
#ifdef __cplusplus
}
#endif
#endif /* INC_dbTest_H */