mirror of
https://github.com/profanity-im/profanity.git
synced 2024-10-06 20:03:46 -04:00
20 lines
273 B
C
20 lines
273 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;
|
|
|
|
void log_init(void);
|
|
void log_msg(const char * const area, const char * const msg);
|
|
void log_close(void);
|
|
|
|
#endif
|