1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00
profanity/log.h

20 lines
273 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
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