]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
Patches from Matt with slight mod from me to do without strlen. Also modified lprintf...
[citadel.git] / citadel / server.h
index c455cff538c8f72f21b03baf53bb0add7296d0ce..3d1c9c487a721d151a8dd3769c528f2eb4dc36c4 100644 (file)
@@ -237,6 +237,7 @@ enum {
        S_RPLIST,
        S_SIEVELIST,
        S_CHKPWD,
+       S_LOG,
        MAX_SEMAPHORES
 };
 
@@ -451,6 +452,22 @@ struct RoomFunctionHook {
 extern struct RoomFunctionHook *RoomHookTable;
 
 
+struct MaintenanceThreadHook {
+       struct MaintenanceThreadHook *next;
+       char *name;
+       void *(*fcn_ptr) (void *arg);
+       pthread_t MaintenanceThread_tid;
+};
+extern struct MaintenanceThreadHook *MaintenanceThreadHookTable;
+
+
+struct SearchFunctionHook {
+       struct SearchFunctionHook *next;
+       void (*fcn_ptr) (int *, long **, char *);
+       char *name;
+};
+extern struct SearchFunctionHook *SearchFunctionHookTable;
+
 
 /* Defines the relationship of a user to a particular room */
 struct visit {