From 67860598185d248756316549a7522968f7294990 Mon Sep 17 00:00:00 2001 From: ZoRo Date: Thu, 26 Jan 2017 22:23:28 +0000 Subject: Made working basic mq IPC communication --- mq_cmd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mq_cmd.h') diff --git a/mq_cmd.h b/mq_cmd.h index ef255d9..7872acf 100644 --- a/mq_cmd.h +++ b/mq_cmd.h @@ -5,6 +5,8 @@ #include #include +#include "debug.h" + typedef struct mq_cmd { int id; @@ -13,6 +15,7 @@ typedef struct mq_cmd } mq_cmd; mq_cmd* mq_cmd_create(int id, char *cmd, size_t cmd_sz, char *param, size_t param_sz); +mq_cmd* mq_cmd_creates(char *str, size_t sz); int mq_cmd_id(mq_cmd *cmd, int *id); char* mq_cmd_cmd(mq_cmd *cmd, char **buf, size_t *sz); int mq_cmd_param(mq_cmd *cmd, char **param, size_t *sz); -- cgit v1.2.3