diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 08:54:51 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:47:43 +0100 |
commit | f7aa60175ad7a3517db32f45f06dfbf6486dff69 (patch) | |
tree | abcb70bf21701f6ca5b19ba8b43332e910914eaf /lib/util/samba_util.h | |
parent | ff8ba0628f6f13a5be1df94e5ac2e83008b7c69c (diff) | |
download | samba-f7aa60175ad7a3517db32f45f06dfbf6486dff69.tar.gz samba-f7aa60175ad7a3517db32f45f06dfbf6486dff69.tar.bz2 samba-f7aa60175ad7a3517db32f45f06dfbf6486dff69.zip |
lib/util: add samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/util/samba_util.h')
-rw-r--r-- | lib/util/samba_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h index 27c2e6ed3c..f59dc70f2f 100644 --- a/lib/util/samba_util.h +++ b/lib/util/samba_util.h @@ -960,4 +960,10 @@ void server_id_set_disconnected(struct server_id *id); */ bool server_id_is_disconnected(const struct server_id *id); +/* + * Samba code should use samba_tevent_context_init() instead of + * tevent_context_init() in order to get the debug output. + */ +struct tevent_context *samba_tevent_context_init(TALLOC_CTX *mem_ctx); + #endif /* _SAMBA_UTIL_H_ */ |