source: tags/4.1.0/include/sh_socket.h

Last change on this file was 481, checked in by katerina, 5 years ago

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

File size: 777 bytes
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)
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);
16#endif
17
18#if defined (SH_WITH_SERVER)
19
20
21int    sh_socket_open_int (void);
22int    sh_socket_remove (void);
23char * sh_socket_check(const char * client_name);
24int    sh_socket_poll(void);
25void   sh_socket_add2reload (const char * clt);
26
27#endif
28
29
30#endif
Note: See TracBrowser for help on using the repository browser.