blob: a75c6e7d8e92b4c2d0fa13ff4fd8847bde4d800f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef _ZoO_SERVER_SERVER_H_
#define _ZoO_SERVER_SERVER_H_
#include "../cli/parameters_types.h"
#include "server_types.h"
int ZoO_server_cleanup_session (const char * session);
int ZoO_server_initialize
(
struct ZoO_server [const restrict static 1],
const char * session
);
int ZoO_server_main (const struct ZoO_parameters params);
int ZoO_server_finalize (struct ZoO_server [const restrict static 1]);
void ZoO_server_no_mq_termination (struct ZoO_server [const restrict static 1]);
int ZoO_server_receive_message
(
struct ZoO_server [const restrict static 1],
struct ZoO_server_message msg_buffer [const restrict static 1]
);
int ZoO_server_new_client
(
struct ZoO_server [const restrict static 1],
struct ZoO_server_message msg_buffer [const restrict static 1]
);
int ZoO_server_join_thread
(
struct ZoO_server [const restrict static 1],
struct ZoO_server_message msg_buffer [const restrict static 1]
);
#endif
|