EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rsrv.h
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, 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 /*
12  * Author: Jeffrey O. Hill
14  * (505) 665 1831
15  * Date: 5-88
16  */
17 
18 #ifndef rsrvh
19 #define rsrvh
20 
21 #include <stddef.h>
22 #include "dbCoreAPI.h"
23 
24 #define RSRV_OK 0
25 #define RSRV_ERROR (-1)
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 DBCORE_API void rsrv_register_server(void);
32 
33 DBCORE_API void casr (unsigned level);
34 DBCORE_API int casClientInitiatingCurrentThread (
35  char * pBuf, size_t bufSize );
36 DBCORE_API void casStatsFetch (
37  unsigned *pChanCount, unsigned *pConnCount );
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /*rsrvh */