diff options
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/log.h b/log.h index bf044b58..1aad4872 100644 --- a/log.h +++ b/log.h @@ -1,13 +1,20 @@ #ifndef LOG_H #define LOG_H +#include <stdio.h> + +#include <strophe/strophe.h> + +// log areas #define PROF "prof" #define CONN "conn" +// file log FILE *logp; xmpp_log_t *xmpp_get_file_logger(); -void logmsg(const char * const area, const char * const msg); -void start_log(void); +void log_init(void); +void log_msg(const char * const area, const char * const msg); +void log_close(void); #endif |