diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-02-25 00:44:03 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-02-25 00:44:03 +0000 |
commit | 58493553ec4d0efaca1c1adddcdeb00e94e881bf (patch) | |
tree | 03a1e6c1c803fc74b907d3a0202bd8d0e8bf1f1d /tbl_qcmd.h | |
parent | b2e98d7936b57f11e0d37ad522d3382f682af071 (diff) | |
download | agni-58493553ec4d0efaca1c1adddcdeb00e94e881bf.tar.gz agni-58493553ec4d0efaca1c1adddcdeb00e94e881bf.zip |
Formatring patch from Ms.IJ applied
Diffstat (limited to 'tbl_qcmd.h')
-rw-r--r-- | tbl_qcmd.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |