Logging: add commands to runtime view/enable/disable logging
[citadel.git] / citadel / serv_extensions.h
index 0ef8e14083337390e5c3b697eebe785c6c3565c0..59dcfec3a3b93d11d3e064b1351eb3b99a016d17 100644 (file)
@@ -15,7 +15,7 @@
 /*
  */
 
-typedef void (*CtdlDbgFunction) (void);
+typedef void (*CtdlDbgFunction) (const int);
  
 
 
@@ -85,7 +85,7 @@ void CtdlDestroySearchHooks(void);
 void CtdlDestroyFixedOutputHooks(void);
 int PerformFixedOutputHooks(char *, char *, int);
 
-void CtdlRegisterDebugFlagHook(const char *Name, long len, CtdlDbgFunction F);
+void CtdlRegisterDebugFlagHook(const char *Name, long len, CtdlDbgFunction F, const int *);
 void CtdlSetDebugLogFacilities(const char **Str, long n);
 void CtdlDestroyDebugTable(void);