summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-03-23 23:14:45 +0100
committerMichael Adam <obnox@samba.org>2009-04-27 11:21:04 +0200
commite935d8616b3846695f4633ca0dbbc36ee54608e4 (patch)
tree1dd35908403e29c187631b8b9f99bff687b7b365 /source3/include
parentc9b1734419e795b1f57882de37758e7f1ee25b94 (diff)
downloadsamba-e935d8616b3846695f4633ca0dbbc36ee54608e4.tar.gz
samba-e935d8616b3846695f4633ca0dbbc36ee54608e4.tar.bz2
samba-e935d8616b3846695f4633ca0dbbc36ee54608e4.zip
s3:registry: replace typedef REGISTRY_OPS by struct registry_ops
Michael
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/include/reg_objects.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 83436a370e..101831577f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4853,8 +4853,8 @@ bool regdb_values_need_update(struct regval_ctr *values);
/* The following definitions come from registry/reg_cachehook.c */
WERROR reghook_cache_init(void);
-WERROR reghook_cache_add(const char *keyname, REGISTRY_OPS *ops);
-REGISTRY_OPS *reghook_cache_find(const char *keyname);
+WERROR reghook_cache_add(const char *keyname, struct registry_ops *ops);
+struct registry_ops *reghook_cache_find(const char *keyname);
void reghook_dump_cache( int debuglevel );
/* The following definitions come from registry/reg_dispatcher.c */
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h
index 5a4f516402..8d220ebdf5 100644
--- a/source3/include/reg_objects.h
+++ b/source3/include/reg_objects.h
@@ -126,7 +126,7 @@ struct regsubkey_ctr;
* for virtual registry view
*/
-typedef struct {
+struct registry_ops {
/* functions for enumerating subkeys and values */
int (*fetch_subkeys)( const char *key, struct regsubkey_ctr *subkeys);
int (*fetch_values) ( const char *key, struct regval_ctr *val );
@@ -143,11 +143,11 @@ typedef struct {
struct security_descriptor *sec_desc);
bool (*subkeys_need_update)(struct regsubkey_ctr *subkeys);
bool (*values_need_update)(struct regval_ctr *values);
-} REGISTRY_OPS;
+};
struct registry_hook {
const char *keyname; /* full path to name of key */
- REGISTRY_OPS *ops; /* registry function hooks */
+ struct registry_ops *ops; /* registry function hooks */
};
@@ -157,7 +157,7 @@ struct registry_key_handle {
uint32 type;
char *name; /* full name of registry key */
uint32 access_granted;
- REGISTRY_OPS *ops;
+ struct registry_ops *ops;
};
struct registry_key {