diff options
Diffstat (limited to 'tbl_qcmd.c')
-rw-r--r-- | tbl_qcmd.c | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -135,12 +135,21 @@ int tbl_exec_run(tbl_exec *tbl, char *cmd, void **resp) //PRINT("CALLBACK PARAMS %s\n", clbk_data); - ret_resp = el->callback(clbk_data); //no params for now - + if (el->type == TBL_T_SIMPLE) + { + ret_resp = el->callback(clbk_data); //no params for now + } else if (el->type == TBL_T_RPC) + { + ERROR("Not implemented\n"); + } else if (el->type == TBL_T_LUA) + { + ERROR("Not implemented\n"); + } //return if (ret_resp != NULL) { *resp = ret_resp; + //return executed command id ret = i; } } |