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