diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-21 15:24:14 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-21 15:27:05 -0700 |
commit | 97ffb912c164e94728e5d3f82d602bb086bf65a4 (patch) | |
tree | dabedef7d3f6d8da633d9321ee07806f5c63e20f /source4/lib/ldb/include | |
parent | 5b684bbfd761924360c08a32d657a33bc92b8f9c (diff) | |
download | samba-97ffb912c164e94728e5d3f82d602bb086bf65a4.tar.gz samba-97ffb912c164e94728e5d3f82d602bb086bf65a4.tar.bz2 samba-97ffb912c164e94728e5d3f82d602bb086bf65a4.zip |
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
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 |