]> 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 0886d8e94c4b0af6a4ed035735b5e03c2a9e4b60..8c42ec21c95eb35fd08ac4710fde0fef9f53feb2 100644 (file)
@@ -214,6 +214,8 @@ enum {
        S_DIRECTORY,
        S_NETCONFIGS,
        S_PUBLIC_CLIENTS,
+       S_LDAP,
+       S_FLOORCACHE,
        MAX_SEMAPHORES
 };
 
@@ -320,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