summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
/* @} ******************************************************************/