X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Frpcd%2Fexec.h;fp=include%2Frpcd%2Fexec.h;h=dca1bad95260e47bbaa41c6ddb4e1e582d841503;hb=524032c291fcb4d8e4b160f4c9c4ec8b5de92db3;hp=05ba3caaf2ed86936847b1633fb486f9e6bcdfd3;hpb=aa2afdb739b46533fa663237e3f3b6745b30e852;p=project%2Frpcd.git diff --git a/include/rpcd/exec.h b/include/rpcd/exec.h index 05ba3ca..dca1bad 100644 --- a/include/rpcd/exec.h +++ b/include/rpcd/exec.h @@ -78,6 +78,8 @@ struct rpc_exec_context { rpc_exec_done_cb_t finish_cb; }; +const char *rpc_exec_lookup(const char *cmd); + int rpc_exec(const char **args, rpc_exec_write_cb_t in, rpc_exec_read_cb_t out, rpc_exec_read_cb_t err, rpc_exec_done_cb_t end, void *priv, struct ubus_context *ctx,