GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
MbsAPI
clnt_buf_def.h
Go to the documentation of this file.
1
// $Id$
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 fuer 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
#ifndef CLNT_BUF_DEF_H
15
#define CLNT_BUF_DEF_H
16
17
/* CLNT_BUF_DEF.H
18
*
19
* definitions MUST be EQUAL for GPS-Server, GPS-Client and SBS-Monitor
20
* modif: 24-Feb-1994 RSM CLNT__BUFHEAD
21
*
22
*/
23
/* +++ length in bytes +++ */
24
#define CLNT__OUTBUFHEAD 344
/* header length (300) inluding
25
* CLNT_INFO_CONTROL and
26
* CLNT_INFO_CLIENT
27
* but without *p_clntoutbuf[2]
28
* and *p_client. Data trans-
29
* mission starts at l_dlen
30
*/
31
#define CLNT__INFO_CONTROL 24
/* len of info from
32
* s_control to be copied to
33
* s_clntoutbuf
34
*/
35
#define CLNT__INFO_CLIENT 20
/* len of info from
36
* s_client to be copied to
37
* s_clntoutbuf
38
*/
39
#define CLNT__SMALLBUF 512
/* size of smallest buffer
40
* to be sent
41
*/
42
#define CLNT__RESTBUF 168
/* begin of rest buffer addr
43
* is &p_clntoutbuf->
44
* c_buffer[CLNT_RESTBUF]
45
* CLNT_RESTBUF =
46
* CLNT_SMALLBUF -
47
* CLNT_OUTBUFHEAD
48
*/
49
#define CLNT__BUFHEAD 336
/* Header of output/input in
50
* s_clntbuf and
51
* s_clntoutbuf
52
* from l_dlen to
53
* l_clntoutbuf_fltm
54
*/
55
#define CLNT__BUFH_LW 11
/* Header from l_testbit
56
* to l_msgtyp in LW */
57
#define CLNT__MSGLEN 256
/* Length of message string
58
*/
59
#define CLNT__REST_LW 11
/* rest of header after
60
* s_clntbuf.c_message[] to
61
* s_clntbuf.c_buffer[0]
62
*/
63
64
#endif
Generated by
1.13.2