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