summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
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 {