summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-04-16 14:47:16 +0200
committerVolker Lendecke <vl@samba.org>2012-04-18 10:27:16 +0200
commitcf7f4612b5180238d9a28a1481e945c535d0af97 (patch)
tree734f99f7b4bcc937c7129cb9e28fecf76bd40a2f
parent73b0ed650a75759b546022a9f0a4c609a856353c (diff)
downloadsamba-cf7f4612b5180238d9a28a1481e945c535d0af97.tar.gz
samba-cf7f4612b5180238d9a28a1481e945c535d0af97.tar.bz2
samba-cf7f4612b5180238d9a28a1481e945c535d0af97.zip
Talloc doc: talloc_set_log_fn()
Documents this function.
-rw-r--r--lib/talloc/talloc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h
index f87d4cc5cc..a77287a0c9 100644
--- a/lib/talloc/talloc.h
+++ b/lib/talloc/talloc.h
@@ -1804,6 +1804,15 @@ void talloc_enable_leak_report_full(void);
* @see talloc_get_type()
*/
void talloc_set_abort_fn(void (*abort_fn)(const char *reason));
+
+/**
+ * @brief Set a logging function.
+ *
+ * @param[in] log_fn The logging function.
+ *
+ * @see talloc_set_log_stderr()
+ * @see talloc_set_abort_fn()
+ */
void talloc_set_log_fn(void (*log_fn)(const char *message));
void talloc_set_log_stderr(void);