mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-23 23:32:45 +00:00
Add ERR_BADFILE
This commit is contained in:
parent
eae302e686
commit
0c82a58f79
@ -2,6 +2,8 @@
|
||||
#define _LOG_H_
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define LOG_FILENAME "/tmp/emp.log"
|
||||
|
||||
@ -9,6 +11,7 @@ enum log_errcode {
|
||||
OK = 1,
|
||||
ERR_OOM, // out of memory
|
||||
ERR_OOB, // out of bounds
|
||||
ERR_BADFILE,
|
||||
};
|
||||
|
||||
extern void log_write(int, const char *, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user