Accelerator Independent Data Access / PVAccess 2.0
AIDA-PVA is the latest version of the AIDA framework. Built on top of EPICS 7 it enables client applications to programmatically access and manage any device or database on the SLAC Network using simple channel names.
Loading...
Searching...
No Matches
AIDASLCDB_SERVER.h
1#ifndef AIDASLCDB_SERVER_H
2#define AIDASLCDB_SERVER_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7/*
8 * Routines in dpslc_jni_helper.c to call into SLC shareables
9 *
10 * **CMS**=C_INC
11*/
12extern vmsstat_t DB_INIT(void);
13extern vmsstat_t JNI_DBGETBYTE(const char*, unsigned char*);
14extern vmsstat_t JNI_DBGETSHORT(const char*, short int*);
15extern vmsstat_t JNI_DBGETINT(const char*, int*);
16extern vmsstat_t JNI_DBGETFLOAT(const char*, float*);
17extern vmsstat_t JNI_DBGETCHAR(const char*, char*);
18extern vmsstat_t JNI_DBGETSTRING(const char*, char**);
19
20extern vmsstat_t JNI_DBGETBYTEA(const char*, unsigned char**);
21extern vmsstat_t JNI_DBGETSHORTA(const char*, short int**);
22extern vmsstat_t JNI_DBGETINTA(const char*, int**);
23extern vmsstat_t JNI_DBGETFLOATA(const char*, float**);
24
25extern int JNI_DBACCESSENABLED(void);
26
27extern vmsstat_t JNI_DBSETFLOAT(const char*, float*, int length);
28extern vmsstat_t JNI_DBSETINT(const char*, int*, int length);
29
30#define TEXT_SUBSTRING 8
31#define COLOR_SUBSTRING 8
32#define FLAG_SUBSTRING 1
33#define TOTAL_PSEUDO_SECONDARY_LEN (TEXT_SUBSTRING+COLOR_SUBSTRING+FLAG_SUBSTRING + 2)
34
35#ifdef __cplusplus
36}
37#endif
38#endif