diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-08-24 16:01:05 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-08-24 16:30:00 +1000 |
commit | e6da38c8b7791292243b539cfbaf763f5b61f509 (patch) | |
tree | f02c3d3e2eabda51d3435ad5c181883986d8be6a /lib | |
parent | a0e20418360cbbb0ddaff5f71675300b3b3db72a (diff) | |
download | samba-e6da38c8b7791292243b539cfbaf763f5b61f509.tar.gz samba-e6da38c8b7791292243b539cfbaf763f5b61f509.tar.bz2 samba-e6da38c8b7791292243b539cfbaf763f5b61f509.zip |
added talloc_set_log_* documentation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/talloc/talloc_guide.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/talloc/talloc_guide.txt b/lib/talloc/talloc_guide.txt index 7890f9f265..3b6467a083 100644 --- a/lib/talloc/talloc_guide.txt +++ b/lib/talloc/talloc_guide.txt @@ -744,3 +744,14 @@ know the structure you want is a parent of another context. Like talloc_find_parent_byname() but takes a type, making it typesafe. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +void talloc_set_log_fn(void (*log_fn)(const char *message)); + +This function sets a logging function that talloc will use for +warnings and errors. By default talloc will not print any warnings or +errors. + +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +void talloc_set_log_stderr(void) + +This sets the talloc log function to write log messages to stderr |