summaryrefslogtreecommitdiff
path: root/source3/include/registry.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-09-21 08:11:18 +0200
committerMichael Adam <obnox@samba.org>2010-09-21 08:52:06 +0200
commitb11cc305083844052d0b82560e3a7006b3520f14 (patch)
tree9f8bc7cfaa7d4353767a76ae4a3fee92b227cff7 /source3/include/registry.h
parente4eda5f9bcabbdb82aa4a65e5cd8558a36944270 (diff)
downloadsamba-b11cc305083844052d0b82560e3a7006b3520f14.tar.gz
samba-b11cc305083844052d0b82560e3a7006b3520f14.tar.bz2
samba-b11cc305083844052d0b82560e3a7006b3520f14.zip
s3:registry: move the reg_api prototypes to their own header.
Diffstat (limited to 'source3/include/registry.h')
-rw-r--r--source3/include/registry.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/source3/include/registry.h b/source3/include/registry.h
index 600fffe679..3a8a7aaabf 100644
--- a/source3/include/registry.h
+++ b/source3/include/registry.h
@@ -130,53 +130,6 @@ struct registry_key {
#define REG_KEY_HKPT 2
-/* The following definitions come from registry/reg_api.c */
-
-WERROR reg_openhive(TALLOC_CTX *mem_ctx, const char *hive,
- uint32 desired_access,
- const struct security_token *token,
- struct registry_key **pkey);
-WERROR reg_openkey(TALLOC_CTX *mem_ctx, struct registry_key *parent,
- const char *name, uint32 desired_access,
- struct registry_key **pkey);
-WERROR reg_enumkey(TALLOC_CTX *mem_ctx, struct registry_key *key,
- uint32 idx, char **name, NTTIME *last_write_time);
-WERROR reg_enumvalue(TALLOC_CTX *mem_ctx, struct registry_key *key,
- uint32 idx, char **pname, struct registry_value **pval);
-WERROR reg_queryvalue(TALLOC_CTX *mem_ctx, struct registry_key *key,
- const char *name, struct registry_value **pval);
-WERROR reg_querymultiplevalues(TALLOC_CTX *mem_ctx,
- struct registry_key *key,
- uint32_t num_names,
- const char **names,
- uint32_t *pnum_vals,
- struct registry_value **pvals);
-WERROR reg_queryinfokey(struct registry_key *key, uint32_t *num_subkeys,
- uint32_t *max_subkeylen, uint32_t *max_subkeysize,
- uint32_t *num_values, uint32_t *max_valnamelen,
- uint32_t *max_valbufsize, uint32_t *secdescsize,
- NTTIME *last_changed_time);
-WERROR reg_createkey(TALLOC_CTX *ctx, struct registry_key *parent,
- const char *subkeypath, uint32 desired_access,
- struct registry_key **pkey,
- enum winreg_CreateAction *paction);
-WERROR reg_deletekey(struct registry_key *parent, const char *path);
-WERROR reg_setvalue(struct registry_key *key, const char *name,
- const struct registry_value *val);
-WERROR reg_deletevalue(struct registry_key *key, const char *name);
-WERROR reg_getkeysecurity(TALLOC_CTX *mem_ctx, struct registry_key *key,
- struct security_descriptor **psecdesc);
-WERROR reg_setkeysecurity(struct registry_key *key,
- struct security_descriptor *psecdesc);
-WERROR reg_getversion(uint32_t *version);
-WERROR reg_deleteallvalues(struct registry_key *key);
-WERROR reg_deletekey_recursive(TALLOC_CTX *ctx,
- struct registry_key *parent,
- const char *path);
-WERROR reg_deletesubkeys_recursive(TALLOC_CTX *ctx,
- struct registry_key *parent,
- const char *path);
-
/* The following definitions come from registry/reg_api_regf.c */
WERROR reg_restorekey(struct registry_key *key, const char *fname);