From 9a2ad351a1c3215dc596ff3e2e3fd4bc24445a6b Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 20 Feb 2006 22:44:45 +0100 Subject: Switched to SVN (initial import) --- debug.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'debug.h') diff --git a/debug.h b/debug.h index f42dd73..53626ef 100644 --- a/debug.h +++ b/debug.h @@ -1,6 +1,16 @@ #include -void debug_(int level, char *file, int line, const char *func, char *fmt, ...); +void debug_(int level, const char *file, int line, const char *func, const char *fmt, ...); + +int xwrite(const char *, size_t); +int xwrites(const char *); +int xwritehexi(int); +int xwritehexl(long); +int xwritec(char); +int xwritecr(void); +int xwritedump(void *, long, int); +int xinfdump(long, void *, int); + # define debug(level, expr...) debug_(level, __FILE__, __LINE__, DEBUG_FUNCTION, expr) -- cgit v1.2.3