1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-07-22 17:24:06 +00:00

Refactor a bit for easier testing; add log_stream()

This commit is contained in:
Peter Evans
2018-01-07 15:05:20 -06:00
parent 5da65e0a9e
commit 888eb25797
2 changed files with 28 additions and 13 deletions

View File

@@ -17,7 +17,8 @@ enum log_errcode {
ERR_GFXOP, // we couldn't execute a specific graphic operation
};
extern void log_close();
extern FILE *log_stream();
extern int log_close();
extern void log_open(FILE *);
extern void log_write(int, const char *, ...);