diff options
author | Ian Wienand <ianw@ieee.org> | 2006-02-20 22:44:45 +0100 |
---|---|---|
committer | Ian Wienand <ianw@debian.org> | 2006-02-20 22:44:45 +0100 |
commit | 9a2ad351a1c3215dc596ff3e2e3fd4bc24445a6b (patch) | |
tree | 01bd7628615527758c5a4d0f4242b8cc87508082 /debug.h | |
parent | 5570a7769869a4df25ef85f302f74a7feb6c0cd3 (diff) | |
download | ltrace-9a2ad351a1c3215dc596ff3e2e3fd4bc24445a6b.tar.gz |
Switched to SVN (initial import)
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,6 +1,16 @@ #include <features.h> -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) |