source: trunk/include/sh_socket.h@ 488

Last change on this file since 488 was 481, checked in by katerina, 9 years ago

Enhancements and fixes for tickets #374, #375, #376, #377, #378, and #379.

File size: 777 bytes
RevLine 
[1]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)
[481]10char * sh_socket_get_uuid(int * errflag, unsigned int * count, time_t * last);
11int sh_socket_store_uuid(const char * cmd);
12int sh_socket_return_uuid(const char * uuid, unsigned int count, time_t last);
13void sh_socket_server_cmd(const char * srvcmd);
14int set_delta_retry_interval(const char * str);
15int set_delta_retry_count(const char * str);
[1]16#endif
17
18#if defined (SH_WITH_SERVER)
19
20
[170]21int sh_socket_open_int (void);
22int sh_socket_remove (void);
[1]23char * sh_socket_check(const char * client_name);
[170]24int sh_socket_poll(void);
[1]25void sh_socket_add2reload (const char * clt);
26
27#endif
28
29
30#endif
Note: See TracBrowser for help on using the repository browser.