ARB
client_privat.h
Go to the documentation of this file.
1 // =============================================================== //
2 // //
3 // File : client_privat.h //
4 // Purpose : //
5 // //
6 // Institute of Microbiology (Technical University Munich) //
7 // http://www.arb-home.de/ //
8 // //
9 // =============================================================== //
10 
11 #ifndef CLIENT_PRIVAT_H
12 #define CLIENT_PRIVAT_H
13 
14 #ifndef AISC_GLOBAL_H
15 #include "aisc_global.h"
16 #endif
17 
18 
19 #ifndef ARB_ASSERT_H
20 #include <arb_assert.h>
21 #endif
22 #ifndef SIGHANDLER_H
23 #include <SigHandler.h>
24 #endif
25 
26 #define AISC_MAX_ATTR 4095
27 #define MAX_AISC_SET_GET 16
28 #define AISC_MAX_STRING_LEN 1024
29 #define AISC_MESSAGE_BUFFER_LEN ((AISC_MAX_STRING_LEN/4+3)*(16+2))
30 
32  char *data;
33  int size;
35 };
36 
37 struct aisc_com {
38  int socket;
40  char *message;
42  long magic;
43  const char *error;
44 
49 };
50 
51 #define AISC_MAGIC_NUMBER 0
52 
64 };
65 
70 };
71 
72 #else
73 #error client_privat.h included twice
74 #endif // CLIENT_PRIVAT_H
SigHandler old_sigpipe_handler
Definition: client_privat.h:48
aisc_bytes_list * next
Definition: client_privat.h:34
long aisc_mes_buffer[AISC_MESSAGE_BUFFER_LEN]
Definition: client_privat.h:45
aisc_bytes_list * aisc_client_bytes_first
Definition: client_privat.h:46
aisc_command_list
Definition: client_privat.h:53
#define AISC_MAGIC_NUMBER
Definition: client_privat.h:51
long magic
Definition: client_privat.h:42
#define AISC_MESSAGE_BUFFER_LEN
Definition: client_privat.h:29
aisc_client_command_list
Definition: client_privat.h:66
const char * error
Definition: client_privat.h:43
char * message
Definition: client_privat.h:40
int * message_queue
Definition: client_privat.h:41
int message_type
Definition: client_privat.h:39
aisc_bytes_list * aisc_client_bytes_last
Definition: client_privat.h:47
void(* SigHandler)(int)
Definition: SigHandler.h:23