EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dbTest.h
1 /*************************************************************************\
2 * Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * SPDX-License-Identifier: EPICS
7 * EPICS BASE is distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 
11 #ifndef INC_dbTest_H
12 #define INC_dbTest_H
13 
14 #include "dbCoreAPI.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 /*dbAddr info */
21 DBCORE_API long dba(const char *pname);
22 /*list records*/
23 DBCORE_API long dbl(
24  const char *precordTypename,const char *fields);
25 /*list number of records of each type*/
26 DBCORE_API long dbnr(int verbose);
27 /* list aliases */
28 DBCORE_API long dbla(const char *pmask);
29 /* list infos */
30 DBCORE_API long dbli(const char *patern);
31 /*list records with mask*/
32 DBCORE_API long dbgrep(const char *pmask);
33 /*get field value*/
34 DBCORE_API long dbgf(const char *pname);
35 /*put field value*/
36 DBCORE_API long dbpf(const char *pname,const char *pvalue);
37 /*print record*/
38 DBCORE_API long dbpr(const char *pname,int interest_level);
39 /*test record*/
40 DBCORE_API long dbtr(const char *pname);
41 /*test get field*/
42 DBCORE_API long dbtgf(const char *pname);
43 /*test put field*/
44 DBCORE_API long dbtpf(const char *pname,const char *pvalue);
45 /*I/O report */
46 DBCORE_API long dbior(
47  const char *pdrvName,int interest_level);
48 /*Hardware Configuration Report*/
49 DBCORE_API int dbhcr(void);
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* INC_dbTest_H */