projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the logging facility from citserver, use syslog instead
[citadel.git]
/
citadel
/
include
/
ctdl_module.h
diff --git
a/citadel/include/ctdl_module.h
b/citadel/include/ctdl_module.h
index 067071862122cef7d231c80f46749585caa7693f..543f1ed4bb5eeab0d86c4fe65b9065988b6b5ca9 100644
(file)
--- a/
citadel/include/ctdl_module.h
+++ b/
citadel/include/ctdl_module.h
@@
-24,6
+24,7
@@
#include <signal.h>
#include <pwd.h>
#include <errno.h>
#include <signal.h>
#include <pwd.h>
#include <errno.h>
+#include <syslog.h>
#include <sys/types.h>
#if TIME_WITH_SYS_TIME
#include <sys/types.h>
#if TIME_WITH_SYS_TIME
@@
-71,15
+72,7
@@
#define CTDL_UPGRADE_CALL(module_name) ctdl_module_##module_name##_upgrade ()
#define CTDL_UPGRADE_CALL(module_name) ctdl_module_##module_name##_upgrade ()
-
-/*
- * Prototype for making log entries in Citadel.
- */
-
-void CtdlLogPrintf(enum LogLevel loglevel, const char *format, ...);
-
#define CtdlAideMessage(TEXT, SUBJECT) quickie_message("Citadel",NULL,NULL,AIDEROOM,TEXT,FMT_CITADEL,SUBJECT)
#define CtdlAideMessage(TEXT, SUBJECT) quickie_message("Citadel",NULL,NULL,AIDEROOM,TEXT,FMT_CITADEL,SUBJECT)
-
/*
* Hook functions available to modules.
*/
/*
* Hook functions available to modules.
*/