diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-04-16 14:47:16 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-18 10:27:16 +0200 |
commit | cf7f4612b5180238d9a28a1481e945c535d0af97 (patch) | |
tree | 734f99f7b4bcc937c7129cb9e28fecf76bd40a2f /lib | |
parent | 73b0ed650a75759b546022a9f0a4c609a856353c (diff) | |
download | samba-cf7f4612b5180238d9a28a1481e945c535d0af97.tar.gz samba-cf7f4612b5180238d9a28a1481e945c535d0af97.tar.bz2 samba-cf7f4612b5180238d9a28a1481e945c535d0af97.zip |
Talloc doc: talloc_set_log_fn()
Documents this function.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/talloc/talloc.h | 9 |
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); |