aboutsummaryrefslogtreecommitdiffstats
path: root/tbl_qcmd.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-02-25 00:44:03 +0000
committerFreeArtMan <dos21h@gmail.com>2017-02-25 00:44:03 +0000
commit58493553ec4d0efaca1c1adddcdeb00e94e881bf (patch)
tree03a1e6c1c803fc74b907d3a0202bd8d0e8bf1f1d /tbl_qcmd.h
parentb2e98d7936b57f11e0d37ad522d3382f682af071 (diff)
downloadagni-58493553ec4d0efaca1c1adddcdeb00e94e881bf.tar.gz
agni-58493553ec4d0efaca1c1adddcdeb00e94e881bf.zip
Formatring patch from Ms.IJ applied
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