diff options
author | ZoRo <dos21h@gmail.com> | 2017-02-07 08:32:09 +0000 |
---|---|---|
committer | ZoRo <dos21h@gmail.com> | 2017-02-07 08:32:09 +0000 |
commit | 0397a4c9dee0300e0ee843fe85aa4c2d77630758 (patch) | |
tree | 3328ac203ea1539b185e639dd0cc92673461339a /mq_cmd.h | |
parent | 27ab3cf81930b63113f4bd6daa1db3c3cc43a3e1 (diff) | |
download | agni-0397a4c9dee0300e0ee843fe85aa4c2d77630758.tar.gz agni-0397a4c9dee0300e0ee843fe85aa4c2d77630758.zip |
Added matching table for executed commands
Diffstat (limited to 'mq_cmd.h')
-rw-r--r-- | mq_cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |