plugin: store pointer to exec timeout value in the ops structure
[project/rpcd.git] / include / rpcd / plugin.h
index 8a1178d6594a087943c365b6d5e686a68291d527..363c0d7db40b71da4cb09021a2e1c1080812c5fe 100644 (file)
@@ -54,6 +54,7 @@ struct rpc_daemon_ops {
                 rpc_exec_read_cb_t err, rpc_exec_done_cb_t end,
                 void *priv, struct ubus_context *ctx,
                 struct ubus_request_data *req);
+    int *exec_timeout;
 };
 
 struct rpc_plugin {