Mercurial > hg > xemacs-beta
comparison lib-src/gnuserv.h @ 171:929b76928fce r20-3b12
Import from CVS: tag r20-3b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:47:52 +0200 |
parents | ac2d302a0011 |
children | 2d532a89d707 |
comparison
equal
deleted
inserted
replaced
170:98a42ee61975 | 171:929b76928fce |
---|---|
206 #define CONN_UNIX 0 | 206 #define CONN_UNIX 0 |
207 #define CONN_INTERNET 1 | 207 #define CONN_INTERNET 1 |
208 #define CONN_IPC 2 | 208 #define CONN_IPC 2 |
209 | 209 |
210 /* function declarations */ | 210 /* function declarations */ |
211 extern int make_connection (char *hostarg, int portarg, int *s); | 211 int make_connection (char *hostarg, int portarg, int *s); |
212 #ifdef SYSV_IPC | 212 #ifdef SYSV_IPC |
213 extern void disconnect_from_ipc_server(); | 213 void disconnect_from_ipc_server(); |
214 #endif | 214 #endif |
215 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS) | 215 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS) |
216 extern void send_string (int s, CONST char *msg); | 216 void send_string (int s, CONST char *msg); |
217 extern void disconnect_from_server (int s, int echo); | 217 void disconnect_from_server (int s, int echo); |
218 int read_line (int s, char *dest); | |
218 #endif | 219 #endif |
219 #ifdef INTERNET_DOMAIN_SOCKETS | 220 #ifdef INTERNET_DOMAIN_SOCKETS |
220 extern int internet_addr (char *host); | 221 int internet_addr (char *host); |
221 #endif | 222 #endif |