From 249cc734cebfef31320ec10b05dbfaaaa39682ca Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 22 Dec 2007 05:03:02 -0600 Subject: r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now. (This used to be commit 485d1fa3d17fe6cc7a0ecd80e8bac42d173bbb19) --- source4/lib/registry/registry.i | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source4/lib/registry/registry.i') diff --git a/source4/lib/registry/registry.i b/source4/lib/registry/registry.i index 315afb0c31..3fabba9a66 100644 --- a/source4/lib/registry/registry.i +++ b/source4/lib/registry/registry.i @@ -137,6 +137,21 @@ WERROR reg_open_hive(TALLOC_CTX *parent_ctx, const char *location, struct loadparm_context *lp_ctx, struct hive_key **root); +%rename(open_ldb) reg_open_ldb_file; +WERROR reg_open_ldb_file(TALLOC_CTX *parent_ctx, const char *location, + struct auth_session_info *session_info, + struct cli_credentials *credentials, + struct loadparm_context *lp_ctx, + struct hive_key **k); + +%rename(create_dir) reg_create_directory; +WERROR reg_create_directory(TALLOC_CTX *parent_ctx, + const char *location, struct hive_key **key); + +%rename(open_dir) reg_open_directory; +WERROR reg_open_directory(TALLOC_CTX *parent_ctx, + const char *location, struct hive_key **key); + %talloctype(hive_key); typedef struct hive_key { @@ -144,6 +159,7 @@ typedef struct hive_key { WERROR del(const char *name); WERROR flush(void); WERROR del_value(const char *name); + WERROR set_value(const char *name, uint32_t type, const DATA_BLOB data); } } hive_key; -- cgit