Line | |
---|
1 | #ifndef SH_SOCKET_H
|
---|
2 | #define SH_SOCKET_H
|
---|
3 |
|
---|
4 | /* 63 (cmd) + 1 (':') + 63 (host) + 1 ('\0') + 81
|
---|
5 | */
|
---|
6 | #define SH_MAXMSG 209
|
---|
7 | #define SH_MAXMSGLEN 64
|
---|
8 |
|
---|
9 | #if defined (SH_WITH_CLIENT)
|
---|
10 | char * sh_socket_get_uuid(int * errflag, unsigned int * count, time_t * last);
|
---|
11 | int sh_socket_store_uuid(const char * cmd);
|
---|
12 | int sh_socket_return_uuid(const char * uuid, unsigned int count, time_t last);
|
---|
13 | void sh_socket_server_cmd(const char * srvcmd);
|
---|
14 | int set_delta_retry_interval(const char * str);
|
---|
15 | int set_delta_retry_count(const char * str);
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | #if defined (SH_WITH_SERVER)
|
---|
19 |
|
---|
20 |
|
---|
21 | int sh_socket_open_int (void);
|
---|
22 | int sh_socket_remove (void);
|
---|
23 | char * sh_socket_check(const char * client_name);
|
---|
24 | int sh_socket_poll(void);
|
---|
25 | void sh_socket_add2reload (const char * clt);
|
---|
26 |
|
---|
27 | #endif
|
---|
28 |
|
---|
29 |
|
---|
30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.