qnetdice
diff src/logger.h @ 1:92377189a5c6
moving along
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 22 Dec 2013 04:08:50 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/logger.h Sun Dec 22 04:08:50 2013 +0200 1.3 @@ -0,0 +1,9 @@ 1.4 +#ifndef LOGGER_H_ 1.5 +#define LOGGER_H_ 1.6 + 1.7 +void set_log_file(FILE *fp); 1.8 +void set_log_callback(void (*cb)(const char*, void*), void *cls); 1.9 + 1.10 +void log_message(const char *msg, ...); 1.11 + 1.12 +#endif // LOGGER_H_