comparison lib-src/gnuserv.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents cc15677e0335
children de805c49cfc1
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
41 #define PATCHLEVEL 2 41 #define PATCHLEVEL 2
42 42
43 #define NO_SHORTNAMES 43 #define NO_SHORTNAMES
44 /* gnuserv should not be compiled using SOCKS */ 44 /* gnuserv should not be compiled using SOCKS */
45 #define DO_NOT_SOCKSIFY 45 #define DO_NOT_SOCKSIFY
46 #include <../src/config.h> 46 #include <config.h>
47 #undef read 47 #undef read
48 #undef write 48 #undef write
49 #undef open 49 #undef open
50 #undef close 50 #undef close
51 #undef signal 51 #undef signal
214 int make_connection (char *hostarg, int portarg, int *s); 214 int make_connection (char *hostarg, int portarg, int *s);
215 #ifdef SYSV_IPC 215 #ifdef SYSV_IPC
216 void disconnect_from_ipc_server(); 216 void disconnect_from_ipc_server();
217 #endif 217 #endif
218 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS) 218 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS)
219 void send_string (int s, CONST char *msg); 219 void send_string (int s, const char *msg);
220 void disconnect_from_server (int s, int echo); 220 void disconnect_from_server (int s, int echo);
221 int read_line (int s, char *dest); 221 int read_line (int s, char *dest);
222 #endif 222 #endif
223 #ifdef INTERNET_DOMAIN_SOCKETS 223 #ifdef INTERNET_DOMAIN_SOCKETS
224 int internet_addr (char *host); 224 int internet_addr (char *host);