diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2018-01-09 07:41:32 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-02-07 23:45:23 +0100 |
commit | 736e438bf44d84d30d8d5091a3f915ef307a6b45 (patch) | |
tree | 6431c2b6df9348027b36db8af6878d254adc3df2 /lib | |
parent | a157091a22446fd60830d5f352e44c6bad9264ba (diff) | |
download | samba-736e438bf44d84d30d8d5091a3f915ef307a6b45.tar.gz |
pyldb: Expose extra flags
Expose the SHOW_BINARY, ENABLE_TRACING and DONT_CREATE_DB flag constants
in the python api.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ldb/pyldb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ldb/pyldb.c b/lib/ldb/pyldb.c index 04b3f1b7d5f..4b02edbd9d2 100644 --- a/lib/ldb/pyldb.c +++ b/lib/ldb/pyldb.c @@ -4226,6 +4226,10 @@ static PyObject* module_init(void) ADD_LDB_INT(FLG_NOSYNC); ADD_LDB_INT(FLG_RECONNECT); ADD_LDB_INT(FLG_NOMMAP); + ADD_LDB_INT(FLG_SHOW_BINARY); + ADD_LDB_INT(FLG_ENABLE_TRACING); + ADD_LDB_INT(FLG_DONT_CREATE_DB); + /* Historical misspelling */ PyModule_AddIntConstant(m, "ERR_ALIAS_DEREFERINCING_PROBLEM", LDB_ERR_ALIAS_DEREFERENCING_PROBLEM); |