1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
profanity/log.h

21 lines
309 B
C
Raw Normal View History

2012-02-05 10:10:10 -05:00
#ifndef LOG_H
#define LOG_H
2012-02-06 19:08:59 -05:00
#include <stdio.h>
#include <strophe/strophe.h>
// log areas
2012-02-06 17:29:05 -05:00
#define PROF "prof"
#define CONN "conn"
2012-02-06 19:08:59 -05:00
// file log
2012-02-06 17:29:05 -05:00
FILE *logp;
2012-02-05 10:10:10 -05:00
xmpp_log_t *xmpp_get_file_logger();
2012-02-06 19:08:59 -05:00
void log_init(void);
void log_msg(const char * const area, const char * const msg);
void log_close(void);
2012-02-05 10:10:10 -05:00
#endif