X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=plugin.c;h=2d5b6c1cb2d0fccd2b4483df3beebb2c5450e4cf;hb=22c7c2675d9460dc260db36254fb20125e8d2467;hp=33266b34b4553cb97b459adfcc7398d394254a13;hpb=07c2f0a9b1c7f79e81fa8a51cca5ecbe9eaf7293;p=project%2Frpcd.git diff --git a/plugin.c b/plugin.c index 33266b3..2d5b6c1 100644 --- a/plugin.c +++ b/plugin.c @@ -16,7 +16,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "plugin.h" +#include static struct blob_buf buf; @@ -401,8 +401,10 @@ out: static LIST_HEAD(plugins); static const struct rpc_daemon_ops ops = { - .access = rpc_session_access, - .exec = rpc_exec, + .session_access = rpc_session_access, + .session_create_cb = rpc_session_create_cb, + .session_destroy_cb = rpc_session_destroy_cb, + .exec = rpc_exec, }; static int