00001 // $Id: clnt_buf_def.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #include "typedefs.h" 00015 /* CLNT_BUF_DEF.H 00016 * 00017 * definitions MUST be EQUAL for GPS-Server, GPS-Client and SBS-Monitor 00018 * modif: 24-Feb-1994 RSM CLNT__BUFHEAD 00019 * 00020 */ 00021 /* +++ length in bytes +++ */ 00022 #define CLNT__OUTBUFHEAD 344 /* header length (300) inluding 00023 * CLNT_INFO_CONTROL and 00024 * CLNT_INFO_CLIENT 00025 * but without *p_clntoutbuf[2] 00026 * and *p_client. Data trans- 00027 * mission starts at l_dlen 00028 */ 00029 #define CLNT__INFO_CONTROL 24 /* len of info from 00030 * s_control to be copied to 00031 * s_clntoutbuf 00032 */ 00033 #define CLNT__INFO_CLIENT 20 /* len of info from 00034 * s_client to be copied to 00035 * s_clntoutbuf 00036 */ 00037 #define CLNT__SMALLBUF 512 /* size of smallest buffer 00038 * to be sent 00039 */ 00040 #define CLNT__RESTBUF 168 /* begin of rest buffer addr 00041 * is &p_clntoutbuf-> 00042 * c_buffer[CLNT_RESTBUF] 00043 * CLNT_RESTBUF = 00044 * CLNT_SMALLBUF - 00045 * CLNT_OUTBUFHEAD 00046 */ 00047 #define CLNT__BUFHEAD 336 /* Header of output/input in 00048 * s_clntbuf and 00049 * s_clntoutbuf 00050 * from l_dlen to 00051 * l_clntoutbuf_fltm 00052 */ 00053 #define CLNT__BUFH_LW 11 /* Header from l_testbit 00054 * to l_msgtyp in LW */ 00055 #define CLNT__MSGLEN 256 /* Length of message string 00056 */ 00057 #define CLNT__REST_LW 11 /* rest of header after 00058 * s_clntbuf.c_message[] to 00059 * s_clntbuf.c_buffer[0] 00060 */ 00061