2 * Copyright (C) 2007 Stig Venaas <venaas@uninett.no>
3 * Copyright (C) 2010 NORDUnet A/S
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
20 void debug_init(char *ident);
21 void debug_set_level(uint8_t level);
22 void debug_timestamp_on();
23 uint8_t debug_get_level();
24 void debug(uint8_t level, char *format, ...);
25 void debugx(int status, uint8_t level, char *format, ...);
26 void debugerrno(int err, uint8_t level, char *format, ...);
27 void debugerrnox(int err, uint8_t level, char *format, ...);
28 int debug_set_destination(char *dest);
29 void debug_reopen_log();
31 /* Local Variables: */
32 /* c-file-style: "stroustrup" */