]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
* room_ops.c: increased the thread safety of cgetfloor()
[citadel.git] / citadel / server.h
index a3073b5d618f01c6b27130ab3c61df4f84029779..8c42ec21c95eb35fd08ac4710fde0fef9f53feb2 100644 (file)
@@ -215,6 +215,7 @@ enum {
        S_NETCONFIGS,
        S_PUBLIC_CLIENTS,
        S_LDAP,
+       S_FLOORCACHE,
        MAX_SEMAPHORES
 };
 
@@ -321,13 +322,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