-void attach_to_server(int argc, char **argv);
-extern char server_is_local;
+/* $Id$ */
+void attach_to_server(int argc, char **argv, char *hostbuf, char *portbuf);
+extern int server_is_local;
int getsockfd(void);
char serv_getc(void);
+int is_connected(void);
+extern int (*error_printf)(char *s, ...);
+void setIPCDeathHook(void (*hook)(void));
+void setIPCErrorPrintf(int (*func)(char *s, ...));