Last change
on this file since 446 was 200, checked in by katerina, 16 years ago |
Implement server->client SCAN command to run file check on demand.
|
File size:
468 bytes
|
Rev | Line | |
---|
[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)
|
---|
| 10 | void sh_socket_server_cmd(const char * srvcmd);
|
---|
| 11 | #endif
|
---|
| 12 |
|
---|
| 13 | #if defined (SH_WITH_SERVER)
|
---|
| 14 |
|
---|
| 15 |
|
---|
[170] | 16 | int sh_socket_open_int (void);
|
---|
| 17 | int sh_socket_remove (void);
|
---|
[1] | 18 | char * sh_socket_check(const char * client_name);
|
---|
[170] | 19 | int sh_socket_poll(void);
|
---|
[1] | 20 | void sh_socket_add2reload (const char * clt);
|
---|
| 21 |
|
---|
| 22 | #endif
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.