aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2012-08-26 08:44:18 +0000
committerdos-reis <gdr@axiomatics.org>2012-08-26 08:44:18 +0000
commit8366d3d32cb2b36e6b72bc0379514250256db384 (patch)
treed8b80c39a657c9d1ac7c4380235b9a6bcf59a4ce /src/include
parente4d0798fd570256bd6d399ce714fe55293044da6 (diff)
downloadopen-axiom-8366d3d32cb2b36e6b72bc0379514250256db384.tar.gz
* include/sockio.h (init_purpose_table): Remove declaration.
(redirect_stdio): Likewise. (init_socks): Likewise. (flush_stdout): Likewise. (print_line): Likewise. (BaloonServer): Remove. (DebugWindow): Likewise. (Forker): Likewise. (AV): Likewise. * interp/server.boot (serverReadLine): Do not flushOutput. * interp/sys-constants.boot ($MessageServer): Remove. ($DebugWindow): Likewise. ($Forker): Likewise. * interp/sys-os.boot (printLine): Remove associated foreign import. * lib/sockio-c.c (init_purpose_table): Do not export. (init_socks): Likewise. (get_socket_type): Simplify. Remove dead code. (redirect_stdio): Remove. (flush_stdio): Likewise. (print_line): Likewise.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/sockio.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/include/sockio.h b/src/include/sockio.h
index a62bda86..14b06cd8 100644
--- a/src/include/sockio.h
+++ b/src/include/sockio.h
@@ -120,7 +120,7 @@ OPENAXIOM_C_EXPORT int wait_for_client_write(openaxiom_sio*,
const char*);
OPENAXIOM_C_EXPORT int make_server_name(char*, const char*);
-OPENAXIOM_C_EXPORT int make_server_number(void);
+OPENAXIOM_C_EXPORT int make_server_number();
OPENAXIOM_C_EXPORT openaxiom_sio* connect_to_local_server(const char*, int, int);
OPENAXIOM_C_EXPORT int open_server(const char*);
OPENAXIOM_C_EXPORT int accept_connection(openaxiom_sio*);
@@ -169,14 +169,9 @@ OPENAXIOM_C_EXPORT int sock_send_signal(int, int);
OPENAXIOM_C_EXPORT int send_wakeup(openaxiom_sio*);
OPENAXIOM_C_EXPORT int sock_send_wakeup(int);
OPENAXIOM_C_EXPORT void remote_stdio(openaxiom_sio*);
-OPENAXIOM_C_EXPORT void init_purpose_table(void);
OPENAXIOM_C_EXPORT void get_socket_type(openaxiom_sio*);
OPENAXIOM_C_EXPORT int sock_accept_connection(int);
-OPENAXIOM_C_EXPORT void redirect_stdio(openaxiom_sio*);
-OPENAXIOM_C_EXPORT void init_socks(void);
-OPENAXIOM_C_EXPORT int server_switch(void);
-OPENAXIOM_C_EXPORT void flush_stdout(void);
-OPENAXIOM_C_EXPORT void print_line(const char*);
+OPENAXIOM_C_EXPORT int server_switch();
#define MaxClients 150
@@ -186,12 +181,8 @@ OPENAXIOM_C_EXPORT void print_line(const char*);
#define ViewportServer 2
#define MenuServer 3
#define SessionIO 4
-#define BaloonServer 5
-#define InterpWindow 6
-#define KillSpad 7
-#define DebugWindow 8 /* used for nagman */
-#define Forker 9
-#define AV 10 /*Simon's algebraic viewer */
+#define InterpWindow 5
+#define KillSpad 6
#define Acknowledge 255