Added the functions to allow scheduling of a thread to start at some
[citadel.git] / citadel / include / ctdl_module.h
index b0508a96bf80482b7e79b444c2249fe9df630493..932e0fe387428c71341190cc6745174ca928014c 100644 (file)
@@ -113,6 +113,7 @@ void CtdlModuleStartCryptoMsgs(char *ok_response, char *nosup_response, char *er
  * Citadel Threads API
  */
 struct CtdlThreadNode *CtdlThreadCreate(char *name, long flags, void *(*thread_func) (void *arg), void *args);
+struct CtdlThreadNode *CtdlThreadSchedule(char *name, long flags, void *(*thread_func) (void *arg), void *args, time_t when);
 void CtdlThreadSleep(int secs);
 void CtdlThreadStop(struct CtdlThreadNode *thread);
 int CtdlThreadCheckStop(void);