1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-13 16:23:50 +03:00

r13851: More doc improvements.

(This used to be commit 936d26ae64)
This commit is contained in:
Jelmer Vernooij
2006-03-06 00:24:51 +00:00
committed by Gerald (Jerry) Carter
parent 77ffddec19
commit c287cc247d
12 changed files with 135 additions and 26 deletions

View File

@@ -29,10 +29,11 @@
* @brief Debug logging
**/
/* this global variable determines what messages are printed */
/**
* this global variable determines what messages are printed
*/
_PUBLIC_ int DEBUGLEVEL;
/* the registered mutex handlers */
static struct {
const char *name;
@@ -64,7 +65,7 @@ static void log_timestring(int level, const char *location, const char *func)
free(s);
}
/*
/**
the backend for debug messages. Note that the DEBUG() macro has already
ensured that the log level has been met before this is called
*/
@@ -74,9 +75,12 @@ _PUBLIC_ void do_debug_header(int level, const char *location, const char *func)
log_task_id();
}
/*
/**
the backend for debug messages. Note that the DEBUG() macro has already
ensured that the log level has been met before this is called
@note You should never have to call this function directly. Call the DEBUG()
macro instead.
*/
_PUBLIC_ void do_debug(const char *format, ...) _PRINTF_ATTRIBUTE(1,2)
{