From: Gary Lockyer Date: Mon, 8 Jan 2018 18:41:32 +0000 (+1300) Subject: pyldb: Expose extra flags X-Git-Tag: tevent-0.9.36~218 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=736e438bf44d84d30d8d5091a3f915ef307a6b45;p=thirdparty%2Fsamba.git 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 Reviewed-by: Andrew Bartlett --- 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);