GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
MbsAPIbase
s_his_comm.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 S_HIS_COMM_H
15
#define S_HIS_COMM_H
16
17
#include "
typedefs.h
"
18
19
#define COMM__PORT 6009
20
#define COMM__GETDIR 1
21
#define COMM__GETHIST 2
22
#define COMM__PUTDIR 3
23
#define COMM__PUTHIST 4
24
#define COMM__EXIT 5
25
#define COMM__GETBASE 6
26
#define COMM__PUTBASE 7
27
#define COMM__SUCCESS 0
28
#define COMM__ERROR -1
29
#define COMM__NOACCESS -2
30
#define COMM__NOBASE -3
31
#define COMM__NOSERVER -4
32
#define COMM__NOHIST -5
33
34
/* structure for communication between histogram server and client */
35
typedef
struct
{
36
INTU4
lu_endian
;
/* set = 1 by sender, checked by receiver */
37
INTU4
lu_action
;
/* what to do, defined by COM__xxx */
38
INTU4
lu_histos
;
/* returned number of histograms */
39
INTU4
lu_size
;
/* returned number of bytes of following buffer */
40
INTS4
l_status
;
/* completion status, COMM_xxx */
41
CHARS
c_access
[32];
/* password depending on server */
42
CHARS
c_base
[32];
/* base name depending on server */
43
CHARS
c_histo
[64];
/* histogram name */
44
}
s_his_comm
;
45
46
#endif
s_his_comm
Definition
s_his_comm.h:35
s_his_comm::c_access
CHARS c_access[32]
Definition
s_his_comm.h:41
s_his_comm::lu_size
INTU4 lu_size
Definition
s_his_comm.h:39
s_his_comm::l_status
INTS4 l_status
Definition
s_his_comm.h:40
s_his_comm::c_histo
CHARS c_histo[64]
Definition
s_his_comm.h:43
s_his_comm::lu_endian
INTU4 lu_endian
Definition
s_his_comm.h:36
s_his_comm::lu_histos
INTU4 lu_histos
Definition
s_his_comm.h:38
s_his_comm::c_base
CHARS c_base[32]
Definition
s_his_comm.h:42
s_his_comm::lu_action
INTU4 lu_action
Definition
s_his_comm.h:37
typedefs.h
INTS4
int INTS4
Definition
typedefs.h:28
INTU4
unsigned int INTU4
Definition
typedefs.h:29
CHARS
char CHARS
Definition
typedefs.h:21
Generated by
1.13.2