00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE 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 #ifndef S_HIS_COMM 00017 #define S_HIS_COMM 00018 00019 #include "typedefs.h" 00020 00021 #define COMM__PORT 6009 00022 #define COMM__GETDIR 1 00023 #define COMM__GETHIST 2 00024 #define COMM__PUTDIR 3 00025 #define COMM__PUTHIST 4 00026 #define COMM__EXIT 5 00027 #define COMM__GETBASE 6 00028 #define COMM__PUTBASE 7 00029 #define COMM__SUCCESS 0 00030 #define COMM__ERROR -1 00031 #define COMM__NOACCESS -2 00032 #define COMM__NOBASE -3 00033 #define COMM__NOSERVER -4 00034 #define COMM__NOHIST -5 00035 00036 /* structure for communication between histogram server and client */ 00037 typedef struct{ 00038 INTU4 lu_endian; /* set = 1 by sender, checked by receiver */ 00039 INTU4 lu_action; /* what to do, defined by COM__xxx */ 00040 INTU4 lu_histos; /* returned number of histograms */ 00041 INTU4 lu_size; /* returned number of bytes of following buffer */ 00042 INTS4 l_status; /* completion status, COMM_xxx */ 00043 CHARS c_access[32]; /* password depending on server */ 00044 CHARS c_base[32]; /* base name depending on server */ 00045 CHARS c_histo[64]; /* histogram name */ 00046 }s_his_comm; 00047 00048 #endif 00049 00050 //----------------------------END OF GO4 SOURCE FILE ---------------------