summaryrefslogtreecommitdiff
path: root/mq_cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'mq_cmd.h')
-rw-r--r--mq_cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mq_cmd.h b/mq_cmd.h
index 7872acf..120c427 100644
--- a/mq_cmd.h
+++ b/mq_cmd.h
@@ -15,7 +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);
+mq_cmd* mq_cmd_creates(char *str, size_t sz, int id);
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);