summaryrefslogtreecommitdiff
path: root/src/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc.h')
-rw-r--r--src/ipc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ipc.h b/src/ipc.h
new file mode 100644
index 0000000..3a49f52
--- /dev/null
+++ b/src/ipc.h
@@ -0,0 +1,8 @@
+#include <mqueue.h>
+
+struct mq_attr attr = {
+ .mq_flags = 0,
+ .mq_maxmsg = 10,
+ .mq_msgsize = 1024,
+ .mq_curmsgs = 0,
+};