Logging: add commands to runtime view/enable/disable logging
[citadel.git] / citadel / serv_extensions.h
index 47a6070bfa5b1fb563bd55e9c5a41fad0fb0da67..59dcfec3a3b93d11d3e064b1351eb3b99a016d17 100644 (file)
@@ -15,6 +15,8 @@
 /*
  */
 
+typedef void (*CtdlDbgFunction) (const int);
 
 
 /*
@@ -82,4 +84,9 @@ void CtdlDestroySearchHooks(void);
 
 void CtdlDestroyFixedOutputHooks(void);
 int PerformFixedOutputHooks(char *, char *, int);
+
+void CtdlRegisterDebugFlagHook(const char *Name, long len, CtdlDbgFunction F, const int *);
+void CtdlSetDebugLogFacilities(const char **Str, long n);
+void CtdlDestroyDebugTable(void);
+
 #endif /* SERV_EXTENSIONS_H */