aboutsummaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prototypes.h')
-rw-r--r--src/prototypes.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/prototypes.h b/src/prototypes.h
index ee95d30..dc88c14 100644
--- a/src/prototypes.h
+++ b/src/prototypes.h
@@ -103,6 +103,10 @@ extern void default_termios(struct termios *termios);
extern Log *file_log_new(char *fn);
/* ipc.c */
extern IPC_Msg *ipc_check_for_message_in_slide(Slide *s);
+extern void ipc_consume_message_in_slide(Slide *s);
+extern int ipc_msg_send(Socket *s, IPC_Msg *m);
+extern int ipc_msg_send_debug(Socket *s, char *msg);
+extern int ipc_msg_send_history(Socket *s, History_ent *l);
/* slide.c */
extern void slide_free(Slide *s);
extern void slide_consume(Slide *s, int n);
@@ -114,7 +118,7 @@ extern void socket_free(Socket *s);
extern Socket *socket_listen(char *path);
extern Socket *socket_accept(Socket *l);
extern Socket *socket_connect(char *path);
-extern Socket *socket_post_select(Socket *s, fd_set *rfds, fd_set *wfds);
extern void socket_consume_msg(Socket *s);
extern void socket_pre_select(Socket *s, fd_set *rfds, fd_set *wfds);
-extern IPC_Msg *ipc_check_for_message_in_slide(Slide *s);
+extern int socket_post_select(Socket *s, fd_set *rfds, fd_set *wfds);
+extern int socket_write(Socket *s, void *buf, int len);