X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/1136f709ef8add5fa9ba8663db910003362e1bd2..ec8177c5c7b355a953871d6fded9ae77cf2a4a96:/src/modcmd.h diff --git a/src/modcmd.h b/src/modcmd.h index 121b1cb..0feb737 100644 --- a/src/modcmd.h +++ b/src/modcmd.h @@ -186,8 +186,8 @@ int svccmd_invoke_argv(struct userNode *user, struct service *service, struct ch /* Get notification when a command is being unbound. This lets * services which cache svccmd references remove them. */ -typedef void (*svccmd_unbind_func_t)(struct svccmd *target); -void reg_svccmd_unbind_func(svccmd_unbind_func_t handler); +typedef void (*svccmd_unbind_func_t)(struct svccmd *target, void *extra); +void reg_svccmd_unbind_func(svccmd_unbind_func_t handler, void *extra); /* Initialize the module command subsystem. */ void modcmd_init(void);