aboutsummaryrefslogtreecommitdiff
path: root/src/ui_ipc.h
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2015-11-16 01:18:11 +0100
committertoni <matzeton@googlemail.com>2015-11-16 01:22:08 +0100
commitdcf8b9b6981d0d21db6edb3265b56c55b39e4ff4 (patch)
tree7816b8c94e304e585b2227aec67d0a94ea1ce855 /src/ui_ipc.h
parent7c3c6b99bec920ea850739e62b9fec8a29dc0dc0 (diff)
waitpid(...) checks now for WIFEXITED instead of WIFSIGNALED
Diffstat (limited to 'src/ui_ipc.h')
-rw-r--r--src/ui_ipc.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui_ipc.h b/src/ui_ipc.h
index 2c5bcb5..ec36f35 100644
--- a/src/ui_ipc.h
+++ b/src/ui_ipc.h
@@ -4,6 +4,8 @@
#include "status.h"
#include "config.h"
+#define IPC_MQSIZ 128
+
enum UI_IPC_SEM {
SEM_RD = 0, /* UI Init done? */
@@ -44,9 +46,12 @@ ui_ipc_semtimedwait(enum UI_IPC_MSQ e_sp, int timeout);
#endif
int
-ui_ipc_msgsend(enum UI_IPC_MSQ e_mq, const char *msg_ptr, size_t msg_len);
+ui_ipc_msgsend(enum UI_IPC_MSQ e_mq, const char *msg_ptr);
ssize_t
-ui_ipc_msgrecv(enum UI_IPC_MSQ e_mq, char *msg_ptr, size_t msg_len);
+ui_ipc_msgrecv(enum UI_IPC_MSQ e_mq, char *msg_ptr);
+
+long
+ui_ipc_msgcount(enum UI_IPC_MSQ e_mq);
#endif