Disable houskeeping and wait for active background jobs to finish before attemtpting...
[citadel.git] / citadel / include / ctdl_module.h
index 05a5a7037b80f9f6609222898fe4a7b6a7d6ed0e..ba6a881c88a14a5743f922e277540752663f2128 100644 (file)
@@ -168,6 +168,12 @@ void CtdlRegisterMaintenanceThread(char *name, void *(*thread_proc) (void *arg))
 
 void CtdlRegisterSearchFuncHook(void (*fcn_ptr)(int *, long **, const char *), char *name);
 
+/*
+ * if you say a) (which may take a while)
+ * don't forget to say b)
+ */
+void CtdlDisableHouseKeeping(void);
+void CtdlEnableHouseKeeping(void);
 
 /*
  * Directory services hooks for LDAP etc