source: branches/samhain-2_2-branch/include/sh_socket.h@ 275

Last change on this file since 275 was 1, checked in by katerina, 19 years ago

Initial import

File size: 457 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)
10void sh_socket_server_cmd(const char * srvcmd);
11#endif
12
13#if defined (SH_WITH_SERVER)
14
15
16int sh_socket_open_int ();
17int sh_socket_remove ();
18char * sh_socket_check(const char * client_name);
19int sh_socket_poll();
20void sh_socket_add2reload (const char * clt);
21
22
23#endif
24
25
26#endif
Note: See TracBrowser for help on using the repository browser.