EPICS Base
7.0.5.1
db_access_routines.h
1
/*************************************************************************\
2
* Copyright (c) 2010 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
/* This defined routines for old database access. These were broken out of
12
db_access.h so that ca can be build independent of db.
13
src/ca contains db_access, which contains that data definitions
14
*/
15
16
#ifndef INCLdb_access_routinesh
17
#define INCLdb_access_routinesh
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#include "
shareLib.h
"
24
25
epicsShareExtern
struct
dbBase
*pdbbase;
26
epicsShareExtern
volatile
int
interruptAccept;
27
28
29
/*
30
* Adaptors for db_access users
31
*/
32
epicsShareFunc
struct
dbChannel
* dbChannel_create(
const
char
*pname);
33
epicsShareFunc
int
dbChannel_get(
struct
dbChannel
*chan,
34
int
buffer_type,
void
*pbuffer,
long
no_elements,
void
*pfl);
35
epicsShareFunc
int
dbChannel_put(
struct
dbChannel
*chan,
int
src_type,
36
const
void
*psrc,
long
no_elements);
37
epicsShareFunc
int
dbChannel_get_count(
struct
dbChannel
*chan,
38
int
buffer_type,
void
*pbuffer,
long
*nRequest,
void
*pfl);
39
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#endif
/* INCLdb_access_routinesh */
dbChannel
Definition:
dbChannel.h:54
dbBase
Definition:
dbBase.h:171
shareLib.h
Mark external symbols and entry points for shared libraries.
Generated on Sun Mar 21 2021 16:10:18 for EPICS Base by
1.8.13