X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lib-src%2Fgnuserv.h;h=6ee2f0bf446686832ba5e46da46e26d3d62009d9;hb=d8c05de64f98142760a5c0dceda85841d839caa4;hp=4e2ac5a9aad72a61e2ee1355b571e9e9283deaad;hpb=b5eeb6918c29470b36f8461c402eb0c65cb19bd2;p=chise%2Fxemacs-chise.git.1 diff --git a/lib-src/gnuserv.h b/lib-src/gnuserv.h index 4e2ac5a..6ee2f0b 100644 --- a/lib-src/gnuserv.h +++ b/lib-src/gnuserv.h @@ -30,24 +30,20 @@ * ../etc/gnuserv.README relative to the directory containing this file) */ -#if 0 -static char header_rcsid [] = "!Header: gnuserv.h,v 2.4 95/02/16 11:58:11 arup alpha !"; -#endif +#define GNUSERV_VERSION "3.12" +/* Note: this setting can cause client-server connection failure if the + * value of TMPDIR is not shared by client and server at run-time. + */ #define USE_TMPDIR -#define NO_SHORTNAMES - #define PATCHLEVEL 2 #define NO_SHORTNAMES /* gnuserv should not be compiled using SOCKS */ #define DO_NOT_SOCKSIFY +#define DONT_ENCAPSULATE #include -#undef read -#undef write -#undef open -#undef close #undef signal /* Define the communication method between server and clients: @@ -174,7 +170,7 @@ static char header_rcsid [] = "!Header: gnuserv.h,v 2.4 95/02/16 11:58:11 arup a */ #ifndef DONT_USE_LITOUT #if !defined(HAVE_TERMIO) && !defined(HAVE_TERMIOS) && !defined(VMS) -#if !defined(MSDOS) && !defined(BSD4_1) +#if !defined(BSD4_1) #define USE_LITOUT #endif #endif @@ -216,7 +212,7 @@ int make_connection (char *hostarg, int portarg, int *s); void disconnect_from_ipc_server(); #endif #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS) -void send_string (int s, CONST char *msg); +void send_string (int s, const char *msg); void disconnect_from_server (int s, int echo); int read_line (int s, char *dest); #endif