]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep_decls.h
* There is now a dedicated thread for doing database checkpoints.
[citadel.git] / citadel / sysdep_decls.h
index f2b6fe50b29b45870366a8f6510c831f3d3df388..c805176a0f5a5d3cf8ad0da10e11297243347585 100644 (file)
@@ -41,6 +41,10 @@ void lprintf (enum LogLevel loglevel, const char *format, ...);
 void cprintf (const char *format, ...);
 #endif
 
+extern pthread_key_t MyConKey;                 /* TSD key for MyContext() */
+
+extern int enable_syslog;
+
 void init_sysdep (void);
 void begin_critical_section (int which_one);
 void end_critical_section (int which_one);
@@ -64,7 +68,6 @@ void cmd_nset (char *cmdbuf);
 int convert_login (char *NameToConvert);
 void *worker_thread (void *arg);
 void become_session(struct CitContext *which_con);
-void CtdlRedirectOutput(FILE *fp);
 void InitializeMasterCC(void);
 void init_master_fdset(void);
 void create_worker(void);
@@ -94,3 +97,7 @@ void tracked_free(void *ptr);
 char *tracked_strdup(const char *s, char *file, int line);
 void dump_heap(void);
 #endif
+
+void create_maintenance_threads(void);
+extern pthread_t indexer_thread_tid;
+extern pthread_t checkpoint_thread_tid;