diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-04-20 16:17:32 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-04-20 16:17:32 +0100 |
commit | fc91eba3845a9e9c741da41ba467c042cbb4ca85 (patch) | |
tree | 8f2e0fb9ac5aa873e1e53a6dbde7338bc1866be9 /tbl_qcmd.h | |
parent | 5007608202739ed1835ffc10a54dba02bc0f361f (diff) | |
download | agni-fc91eba3845a9e9c741da41ba467c042cbb4ca85.tar.gz agni-fc91eba3845a9e9c741da41ba467c042cbb4ca85.zip |
callback execution works
Diffstat (limited to 'tbl_qcmd.h')
-rw-r--r-- | tbl_qcmd.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -173,6 +173,17 @@ Output: */ int tbl_exec_in_s(tbl_exec *tbl, char *cmd); +/* +Input: + tbl - table of executed commands + cmd - command to execute + resp - response from command, just string +Output: + >=0 - index in list of commands + -1 - somethign whent wrong +*/ +int tbl_exec_run(tbl_exec *tbl, char *cmd, void **resp); + /* if command is found then return pointer to it |