JAPAn
Just Another Parity Analyzer
Loading...
Searching...
No Matches
GreenSock.h
Go to the documentation of this file.
1/* GreenSock.h - header used by both GreenMonster and cfSockCli */
2/* defines */
3/* structure for socket requests/replies */
4
5
6#ifndef SOCK_ERROR
7#define SOCK_ERROR (-1)
8#endif
9#ifndef SOCK_OK
10#define SOCK_OK (0)
11#endif
12
13#define GREEN_REQUEST_MSG_SIZE 1024 /* max size of request message */
14
15#ifndef Crate_CountingHouse
16#define Crate_CountingHouse (0)
17#endif
18#ifndef Crate_LeftSpect
19#define Crate_LeftSpect (1)
20#endif
21#ifndef Crate_RightSpect
22#define Crate_RightSpect (2)
23#endif
24#ifndef Crate_Injector
25#define Crate_Injector (3)
26#endif
27#ifndef Crate_Qwvmets
28#define Crate_Qwvmets (4)
29#endif
31{
33 long command;
34 long par1;
35 long par2;
36 char *reply;
37 char message[GREEN_REQUEST_MSG_SIZE]; /* message buffer */
38};
39
#define GREEN_REQUEST_MSG_SIZE
Definition GreenSock.h:13
char message[GREEN_REQUEST_MSG_SIZE]
Definition GreenSock.h:37
long command_type
Definition GreenSock.h:32
char * reply
Definition GreenSock.h:36