summaryrefslogtreecommitdiff
path: root/tbl_qcmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'tbl_qcmd.h')
-rw-r--r--tbl_qcmd.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tbl_qcmd.h b/tbl_qcmd.h
index 4052812..3485117 100644
--- a/tbl_qcmd.h
+++ b/tbl_qcmd.h
@@ -40,7 +40,7 @@ typedef struct tbl_exec
/*
Fields:
*/
-typedef struct tble_qcmd
+typedef struct tble_qcmd
{
int id;
int timestamp; //when command started to execute
@@ -57,7 +57,7 @@ typedef struct tble_qcmd
table of commands executing
Fields:
*/
-typedef struct tbl_qcmd
+typedef struct tbl_qcmd
{
int size;
int max_size;
@@ -200,7 +200,7 @@ Output:
>=0 - if everything whent ok, returns index in the table (ret-1)
-1 - if there was some kind of mistake, or nothing happened
*/
-int tbl_qcmd_chk(tbl_qcmd *tbl);
+int tbl_qcmd_chk(tbl_qcmd *tbl);
/*
delete command from the list
@@ -211,10 +211,10 @@ Output:
0 - if everything whent ok
-1 - if there was some kind of mistake
*/
-int tbl_qcmd_del(tbl_qcmd *tbl, int idx);
+int tbl_qcmd_del(tbl_qcmd *tbl, int idx);
/*
-if there is response then try to match response and return code to
+if there is response then try to match response and return code to
executed command requester
Input:
tbl - array of executed cmds
@@ -223,7 +223,7 @@ Output:
0 - if everything whent ok
-1 - if there was some kind of mistake
*/
-int tbl_qcmd_resp(tbl_qcmd *tbl, tble_cmd_resp *resp);
+int tbl_qcmd_resp(tbl_qcmd *tbl, tble_cmd_resp *resp);
/*
create cmd param