]> code.citadel.org Git - citadel.git/blobdiff - citadel/include/ctdl_module.h
Added new function calls for aide_message and lprintf.
[citadel.git] / citadel / include / ctdl_module.h
index 750b7a58f458565b61abe702306be77b0cfb317b..51d5c9c7f88f537c55943b94fdafcf4c8b345e43 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "server.h"
 #include "sysdep_decls.h"
+#include "msgbase.h"
 
 /*
  * define macros for module init stuff
 #define CTDL_INIT_CALL(module_name) ctdl_module_##module_name##_init ()
 
 
+/*
+ * Prototype for making log entries in Citadel.
+ */
+
+void CtdlLogPrintf(enum LogLevel loglevel, const char *format, ...);
+
+/*
+ * Fix the interface to aide_message so that it complies with the Coding style
+ */
+#define CtdlAideMessage(TEXT, SUBJECT) aide_message(TEXT, SUBJECT)
+
 /*
  * Hook functions available to modules.
  */