From 97ffb912c164e94728e5d3f82d602bb086bf65a4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Sep 2009 15:24:14 -0700 Subject: s4-ldb: add a LDB_FLG_ENABLE_TRACING for full ldb tracing When LDB_FLG_ENABLE_TRACING is set ldb will send full traces of all operations and results --- source4/lib/ldb/include/ldb.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source4/lib/ldb/include') diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 047e66c8b7..0378697f4b 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -246,6 +246,11 @@ struct ldb_utf8_fns { */ #define LDB_FLG_SHOW_BINARY 16 +/** + Flags to enable ldb tracing +*/ +#define LDB_FLG_ENABLE_TRACING 32 + /* structures for ldb_parse_tree handling code */ @@ -1914,4 +1919,8 @@ struct ldb_control **ldb_parse_control_strings(struct ldb_context *ldb, TALLOC_C */ unsigned int ldb_get_flags(struct ldb_context *ldb); +/* set the ldb flags */ +void ldb_set_flags(struct ldb_context *ldb, unsigned flags); + + #endif -- cgit