summaryrefslogtreecommitdiff
path: root/navit/debug.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-26 12:57:55 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-26 12:57:55 +0000
commit012c91d5b8fab0bb75b98761a9b8096a1bd74009 (patch)
tree288d05e7181959ffc921e4fe059d8b59ad7bd149 /navit/debug.h
parentcbaa1530774135e84360e1ebc552254b5e865444 (diff)
downloadnavit-012c91d5b8fab0bb75b98761a9b8096a1bd74009.tar.gz
Fix:Core:Further cleanup of xmlconfig
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1566 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/debug.h')
-rw-r--r--navit/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/debug.h b/navit/debug.h
index 0d9512372..5a0317e89 100644
--- a/navit/debug.h
+++ b/navit/debug.h
@@ -33,9 +33,11 @@ extern int debug_level;
#define dbg_assert(expr) ((expr) ? (void) 0 : debug_assert_fail(dbg_module,strlen(dbg_module),__PRETTY_FUNCTION__, strlen(__PRETTY_FUNCTION__),__FILE__,__LINE__,dbg_str1(expr)))
/* prototypes */
+struct attr;
void debug_init(const char *program_name);
void debug_level_set(const char *name, int level);
int debug_level_get(const char *name);
+struct debug *debug_new(struct attr *parent, struct attr **attrs);
void debug_vprintf(int level, const char *module, const int mlen, const char *function, const int flen, int prefix, const char *fmt, va_list ap);
void debug_printf(int level, const char *module, const int mlen, const char *function, const int flen, int prefix, const char *fmt, ...);
void debug_assert_fail(char *module, const int mlen,const char *function, const int flen, char *file, int line, char *expr);