summaryrefslogtreecommitdiff
path: root/source4/lib/registry/registry.i
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-22 05:03:02 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-24 01:51:01 -0600
commit249cc734cebfef31320ec10b05dbfaaaa39682ca (patch)
treed9362b9316ea4bcbbaf561d2d062d01fe574a1d7 /source4/lib/registry/registry.i
parent09f820f0bd1a9fc7ffd171418ceb0e19df8e2e43 (diff)
downloadsamba-249cc734cebfef31320ec10b05dbfaaaa39682ca.tar.gz
samba-249cc734cebfef31320ec10b05dbfaaaa39682ca.tar.bz2
samba-249cc734cebfef31320ec10b05dbfaaaa39682ca.zip
r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
(This used to be commit 485d1fa3d17fe6cc7a0ecd80e8bac42d173bbb19)
Diffstat (limited to 'source4/lib/registry/registry.i')
-rw-r--r--source4/lib/registry/registry.i16
1 files changed, 16 insertions, 0 deletions
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;