XEmacs 21.4.8 "Honest Recruiter".
[chise/xemacs-chise.git.1] / lib-src / gnuserv.h
index 4e2ac5a..6ee2f0b 100644 (file)
  * ../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 <config.h>
-#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