summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-04-16 14:49:03 +0200
committerVolker Lendecke <vl@samba.org>2012-04-18 10:27:16 +0200
commitf8b589b7935bae9f63493a26678219c7b1661114 (patch)
treec812ce02b5bed18189f252b576528d8870698ad4
parentcf7f4612b5180238d9a28a1481e945c535d0af97 (diff)
downloadsamba-f8b589b7935bae9f63493a26678219c7b1661114.tar.gz
samba-f8b589b7935bae9f63493a26678219c7b1661114.tar.bz2
samba-f8b589b7935bae9f63493a26678219c7b1661114.zip
Talloc doc: talloc_set_log_stderr()
Documents this function.
-rw-r--r--lib/talloc/talloc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h
index a77287a0c9..f8160dbc55 100644
--- a/lib/talloc/talloc.h
+++ b/lib/talloc/talloc.h
@@ -1814,6 +1814,13 @@ void talloc_set_abort_fn(void (*abort_fn)(const char *reason));
* @see talloc_set_abort_fn()
*/
void talloc_set_log_fn(void (*log_fn)(const char *message));
+
+/**
+ * @brief Set stderr as the output for logs.
+ *
+ * @see talloc_set_log_fn()
+ * @see talloc_set_abort_fn()
+ */
void talloc_set_log_stderr(void);
/* @} ******************************************************************/