qnetdice

annotate src/logger.h @ 4:7d28bef3fbca

ops, forgot to add +1 to random numbers in roll.cc to make them 1-based
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Dec 2013 17:40:34 +0200
parents
children
rev   line source
nuclear@1 1 #ifndef LOGGER_H_
nuclear@1 2 #define LOGGER_H_
nuclear@1 3
nuclear@1 4 void set_log_file(FILE *fp);
nuclear@1 5 void set_log_callback(void (*cb)(const char*, void*), void *cls);
nuclear@1 6
nuclear@1 7 void log_message(const char *msg, ...);
nuclear@1 8
nuclear@1 9 #endif // LOGGER_H_