Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*-----------------------------------------------------------------------------
* Copyright (c) 1993,1994 Southeastern Universities Research Association,
* Continuous Electron Beam Accelerator Facility
*
* This software was developed under a United States Government license
* described in the NOTICE file included as part of this distribution.
*
* Stephen A. Wood, 12000 Jefferson Ave., Newport News, VA 23606
* Email: saw@cebaf.gov Tel: (804) 249-7367 Fax: (804) 249-5800
*-----------------------------------------------------------------------------
*
* Description:
* Header for RPC handlers
*
* Author: Stephen A. Wood, CEBAF Hall C
*
* Revision History:
* $Log: daVarHandlers.h,v $
* Revision 1.1 2009/01/23 13:34:01 gaskelld
* Initial revision
*
* Revision 1.2 1999/11/04 20:34:04 saw
* Alpha compatibility.
* New RPC call needed for root event display.
* Start of code to write ROOT trees (ntuples) from new "tree" block
*
* Revision 1.4 1999/08/25 13:16:05 saw
* *** empty log message ***
*
* Revision 1.3 1994/11/07 14:31:34 saw
* Add pending callback requests structure definition
*
* Revision 1.2 1993/05/11 17:34:58 saw
* Fix $Log: daVarHandlers.h,v $
* Fix Revision 1.1 2009/01/23 13:34:01 gaskelld
* Fix Initial revision
* Fix
* Fix Revision 1.2 1999/11/04 20:34:04 saw
* Fix Alpha compatibility.
* Fix New RPC call needed for root event display.
* Fix Start of code to write ROOT trees (ntuples) from new "tree" block
* Fix
* Fix Revision 1.4 1999/08/25 13:16:05 saw
* Fix *** empty log message ***
* Fix
* Fix Revision 1.3 1994/11/07 14:31:34 saw
* Fix Add pending callback requests structure definition
* Fix
*
*/
void daVarReadVar(char *name, any *retval);
daVarStatus daVarWriteVar(char *name, any *retval);
daVarStatus daVarRegRatr(daVarStruct *varp, char *attribute
,int index, any *retval);
daVarStatus daVarRegWatr(daVarStruct *varp, char *attribute
,int index, any *setval);
#define DAVAR_VALUE "value"
#define DAVAR_TITLE "title"
#define DAVAR_SIZE "size"
#define DAVAR_FLAG "flag"
#define DAVAR_TYPE "type"
#define DAVAR_WATR "watr"
#define DAVAR_RATR "ratr"
#define DAVAR_NOINDEX -12345678
/* Structures for holding information about call back requests */
struct daVarCallBackList {
struct sockaddr_in *sock_in; /* Caller socket info */
struct daVarCallBackList *next;
struct TESTNAMELIST *list;
time_t start_time;
};
typedef struct daVarCallBackList daVarCallBackList;