git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf7f461
)
Talloc doc: talloc_set_log_stderr()
author
Pavel Březina
<pbrezina@redhat.com>
Mon, 16 Apr 2012 12:49:03 +0000
(14:49 +0200)
committer
Volker Lendecke
<vl@samba.org>
Wed, 18 Apr 2012 08:27:16 +0000
(10:27 +0200)
Documents this function.
lib/talloc/talloc.h
patch
|
blob
|
history
diff --git
a/lib/talloc/talloc.h
b/lib/talloc/talloc.h
index a77287a0c928f490ed80b8660a7479272ef19bc1..f8160dbc5596f1f8d6a3e0bddcb15f4c0c2b1715 100644
(file)
--- 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);
/* @} ******************************************************************/