summaryrefslogtreecommitdiff
path: root/source4/lib/registry
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-13 20:44:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:33 -0500
commit606c0fec4315bf10eb50b8ab656204b086446e3d (patch)
treec9aadc6b2fd9f9d270b57db6aafa7804b3211c66 /source4/lib/registry
parent6bcbdc2757758f936ce03319c533bb480f4fdc37 (diff)
downloadsamba-606c0fec4315bf10eb50b8ab656204b086446e3d.tar.gz
samba-606c0fec4315bf10eb50b8ab656204b086446e3d.tar.bz2
samba-606c0fec4315bf10eb50b8ab656204b086446e3d.zip
r21830: Fix header installation, remove proto header with a single prototype.
(This used to be commit 47a17a741af625eb52f611b3d0f3ea0e207f2c3a)
Diffstat (limited to 'source4/lib/registry')
-rw-r--r--source4/lib/registry/config.mk1
-rw-r--r--source4/lib/registry/registry.h7
2 files changed, 7 insertions, 1 deletions
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index 78752ae988..fd38d3a4f9 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -52,7 +52,6 @@ PUBLIC_DEPENDENCIES = LIBTALLOC
# Start MODULE registry_rpc
[MODULE::registry_rpc]
INIT_FUNCTION = registry_rpc_init
-PUBLIC_PROTO_HEADER = reg_backend_rpc.h
OUTPUT_TYPE = INTEGRATED
SUBSYSTEM = registry
OBJ_FILES = \
diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h
index 7475720fcf..509e66b5fd 100644
--- a/source4/lib/registry/registry.h
+++ b/source4/lib/registry/registry.h
@@ -188,6 +188,11 @@ _PUBLIC_ WERROR reg_open_local (TALLOC_CTX *mem_ctx,
struct auth_session_info *session_info,
struct cli_credentials *credentials);
+_PUBLIC_ WERROR reg_open_remote(struct registry_context **ctx,
+ struct auth_session_info *session_info,
+ struct cli_credentials *credentials,
+ const char *location, struct event_context *ev);
+
_PUBLIC_ NTSTATUS registry_register(const void *_hive_ops);
_PUBLIC_ NTSTATUS registry_init(void);
_PUBLIC_ BOOL reg_has_backend(const char *backend);
@@ -232,4 +237,6 @@ _PUBLIC_ WERROR reg_diff_save(const struct reg_diff *diff, const char *filename)
_PUBLIC_ struct reg_diff *reg_diff_load(TALLOC_CTX *ctx, const char *fn);
_PUBLIC_ BOOL reg_diff_apply (const struct reg_diff *diff, struct registry_context *ctx);
+NTSTATUS registry_rpc_init(void);
+
#endif /* _REGISTRY_H */