GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
clnt_buf_def.h
Go to the documentation of this file.
1 // $Id: clnt_buf_def.h 478 2009-10-29 12:26:09Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #include "typedefs.h"
15 /* CLNT_BUF_DEF.H
16  *
17  * definitions MUST be EQUAL for GPS-Server, GPS-Client and SBS-Monitor
18  * modif: 24-Feb-1994 RSM CLNT__BUFHEAD
19  *
20  */
21 /* +++ length in bytes +++ */
22 #define CLNT__OUTBUFHEAD 344 /* header length (300) inluding
23  * CLNT_INFO_CONTROL and
24  * CLNT_INFO_CLIENT
25  * but without *p_clntoutbuf[2]
26  * and *p_client. Data trans-
27  * mission starts at l_dlen
28  */
29 #define CLNT__INFO_CONTROL 24 /* len of info from
30  * s_control to be copied to
31  * s_clntoutbuf
32  */
33 #define CLNT__INFO_CLIENT 20 /* len of info from
34  * s_client to be copied to
35  * s_clntoutbuf
36  */
37 #define CLNT__SMALLBUF 512 /* size of smallest buffer
38  * to be sent
39  */
40 #define CLNT__RESTBUF 168 /* begin of rest buffer addr
41  * is &p_clntoutbuf->
42  * c_buffer[CLNT_RESTBUF]
43  * CLNT_RESTBUF =
44  * CLNT_SMALLBUF -
45  * CLNT_OUTBUFHEAD
46  */
47 #define CLNT__BUFHEAD 336 /* Header of output/input in
48  * s_clntbuf and
49  * s_clntoutbuf
50  * from l_dlen to
51  * l_clntoutbuf_fltm
52  */
53 #define CLNT__BUFH_LW 11 /* Header from l_testbit
54  * to l_msgtyp in LW */
55 #define CLNT__MSGLEN 256 /* Length of message string
56  */
57 #define CLNT__REST_LW 11 /* rest of header after
58  * s_clntbuf.c_message[] to
59  * s_clntbuf.c_buffer[0]
60  */
61