summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2010-05-28 14:58:08 +0200
committerLinus Nordberg <linus@nordberg.se>2010-05-28 14:58:08 +0200
commit17f018e2cfc08146f427b82740c686f4a5024272 (patch)
tree87d440270a3dd09f1594f32713dd8fb1645583d5 /debug.h
parent9b8862284cdab3fca45eb539a07938fa651e7562 (diff)
* debug.c (debugerrno): New function.
(debugerrnox): New function. * radsecproxy.c: Use debugerrno() and debugerrnox() when appropriate.
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index be37a54..eaec2a6 100644
--- a/debug.h
+++ b/debug.h
@@ -21,6 +21,8 @@ void debug_timestamp_on();
uint8_t debug_get_level();
void debug(uint8_t level, char *format, ...);
void debugx(int status, uint8_t level, char *format, ...);
+void debugerrno(int err, uint8_t level, char *format, ...);
+void debugerrnox(int err, uint8_t level, char *format, ...);
int debug_set_destination(char *dest);
void debug_reopen_log();