Mercurial > hg > xemacs-beta
comparison lib-src/gnuserv.h @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
34 static char header_rcsid [] = "!Header: gnuserv.h,v 2.4 95/02/16 11:58:11 arup alpha !"; | 34 static char header_rcsid [] = "!Header: gnuserv.h,v 2.4 95/02/16 11:58:11 arup alpha !"; |
35 #endif | 35 #endif |
36 | 36 |
37 #define USE_TMPDIR | 37 #define USE_TMPDIR |
38 | 38 |
39 #define NO_SHORTNAMES | |
40 | |
39 #define PATCHLEVEL 2 | 41 #define PATCHLEVEL 2 |
40 | 42 |
41 #define NO_SHORTNAMES | 43 #define NO_SHORTNAMES |
42 /* gnuserv should not be compiled using SOCKS */ | 44 /* gnuserv should not be compiled using SOCKS */ |
43 #define DO_NOT_SOCKSIFY | 45 #define DO_NOT_SOCKSIFY |
44 #define DONT_ENCAPSULATE | 46 #include <../src/config.h> |
45 #include <config.h> | 47 #undef read |
48 #undef write | |
49 #undef open | |
50 #undef close | |
46 #undef signal | 51 #undef signal |
47 | 52 |
48 /* Define the communication method between server and clients: | 53 /* Define the communication method between server and clients: |
49 * You can have either or both kinds of sockets, but you can't mix | 54 * You can have either or both kinds of sockets, but you can't mix |
50 * sockets with sysv ipc | 55 * sockets with sysv ipc |
167 * characters like ^D to pass through to emacs. This problem has only | 172 * characters like ^D to pass through to emacs. This problem has only |
168 * been observed under emacs18; fsf19 and lemacs are probably okay without it. | 173 * been observed under emacs18; fsf19 and lemacs are probably okay without it. |
169 */ | 174 */ |
170 #ifndef DONT_USE_LITOUT | 175 #ifndef DONT_USE_LITOUT |
171 #if !defined(HAVE_TERMIO) && !defined(HAVE_TERMIOS) && !defined(VMS) | 176 #if !defined(HAVE_TERMIO) && !defined(HAVE_TERMIOS) && !defined(VMS) |
172 #if !defined(BSD4_1) | 177 #if !defined(MSDOS) && !defined(BSD4_1) |
173 #define USE_LITOUT | 178 #define USE_LITOUT |
174 #endif | 179 #endif |
175 #endif | 180 #endif |
176 #endif | 181 #endif |
177 | 182 |
209 int make_connection (char *hostarg, int portarg, int *s); | 214 int make_connection (char *hostarg, int portarg, int *s); |
210 #ifdef SYSV_IPC | 215 #ifdef SYSV_IPC |
211 void disconnect_from_ipc_server(); | 216 void disconnect_from_ipc_server(); |
212 #endif | 217 #endif |
213 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS) | 218 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS) |
214 void send_string (int s, const char *msg); | 219 void send_string (int s, CONST char *msg); |
215 void disconnect_from_server (int s, int echo); | 220 void disconnect_from_server (int s, int echo); |
216 int read_line (int s, char *dest); | 221 int read_line (int s, char *dest); |
217 #endif | 222 #endif |
218 #ifdef INTERNET_DOMAIN_SOCKETS | 223 #ifdef INTERNET_DOMAIN_SOCKETS |
219 int internet_addr (char *host); | 224 int internet_addr (char *host); |