summaryrefslogtreecommitdiff
path: root/src/ipc.h
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-05-27 17:13:14 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-05-27 17:13:14 +0530
commit49cc88def2f9edea59e79ca37f41400ad870579e (patch)
tree55d84a76920dd4af7a7a2054d553ce29d11e726c /src/ipc.h
parent380d67bada7544f5f10cecc8c9dff7ed2f79e187 (diff)
went through all, but comms is working
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,
+};