summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-04 14:46:49 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-04 14:46:49 +0000
commite103487ade654c8cb2bd20fcaadf97ee98faa737 (patch)
tree63b195783c52e776229ffbe042df576d82aad1ac /debug.h
parentf32f6b2ef9cd578920c98b7b60c56b8ed1c4bc1c (diff)
added logging to file and syslog (need to add support for specifying facility)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@72 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index a346e07..036be21 100644
--- a/debug.h
+++ b/debug.h
@@ -10,5 +10,9 @@
#define DBG_WARN 32
#define DBG_ERR 64
+void debug_init(char *ident);
void debug_set_level(uint8_t level);
+uint8_t debug_get_level();
void debug(uint8_t level, char *format, ...);
+void debugx(int status, uint8_t level, char *format, ...);
+int debug_set_destination(char *dest);