X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver.h;h=c72f849f1f593b6311e4344ff9ad3fbfae3f5759;hb=07f4dbb6ca918978ae6da4c2b05bd2a04fc77897;hp=a3073b5d618f01c6b27130ab3c61df4f84029779;hpb=0aa9e26b30af9549c650c496a4d3da85badecb19;p=citadel.git diff --git a/citadel/server.h b/citadel/server.h index a3073b5d6..c72f849f1 100644 --- a/citadel/server.h +++ b/citadel/server.h @@ -321,13 +321,13 @@ extern struct SessionFunctionHook *SessionHookTable; */ struct UserFunctionHook { struct UserFunctionHook *next; - void (*h_function_pointer) (char *username, long usernum); + void (*h_function_pointer) (struct ctdluser *usbuf); int eventtype; }; extern struct UserFunctionHook *UserHookTable; #define EVT_PURGEUSER 100 /* Deleting a user */ -#define EVT_OUTPUTMSG 101 /* Outputting a message */ +#define EVT_NEWUSER 102 /* Creating a user */ /* * MessageFunctionHook extensions are used for hooks which implement handlers