mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 21:16:22 +00:00
21 lines
309 B
C
21 lines
309 B
C
#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 log_init(void);
|
|
void log_msg(const char * const area, const char * const msg);
|
|
void log_close(void);
|
|
|
|
#endif
|