summaryrefslogtreecommitdiff
path: root/lib/util/debug.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 18:59:51 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 18:59:51 +0200
commit87ec1d2532eb17dfd7f98431bdfa4071be57f683 (patch)
tree7543ac112a660083d05c1b4734ffb7fdc169d656 /lib/util/debug.h
parent01a902f59978cebdab22aaee7d9e0c9bb78bc649 (diff)
downloadsamba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.gz
samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.bz2
samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.zip
Make sure prototypes are always included, make some functions static and
remove some unused functions.
Diffstat (limited to 'lib/util/debug.h')
-rw-r--r--lib/util/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 8f4fa2a8fc..8c634f910a 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -80,6 +80,8 @@ enum debug_logtype {DEBUG_STDOUT = 0, DEBUG_FILE = 1, DEBUG_STDERR = 2};
*/
_PUBLIC_ void dbghdr(int level, const char *location, const char *func);
+_PUBLIC_ void dbghdrclass(int level, int class, const char *location, const char *func);
+
/**
reopen the log file (usually called because the log file name might have changed)
*/
@@ -127,3 +129,5 @@ _PUBLIC_ void register_debug_handlers(const char *name, struct debug_ops *ops);
macro instead.
*/
_PUBLIC_ void dbgtext(const char *format, ...) PRINTF_ATTRIBUTE(1,2);
+
+extern XFILE *dbf;