bool (*values_need_update)(struct regval_ctr *values);
} REGISTRY_OPS;
-typedef struct {
+struct registry_hook {
const char *keyname; /* full path to name of key */
REGISTRY_OPS *ops; /* registry function hooks */
-} REGISTRY_HOOK;
+};
/* structure to store the registry handles */
extern REGISTRY_OPS perflib_reg_ops;
extern REGISTRY_OPS regdb_ops; /* these are the default */
-/* array of REGISTRY_HOOK's which are read into a tree for easy access */
+/* array of registry_hook's which are read into a tree for easy access */
/* #define REG_TDB_ONLY 1 */
-REGISTRY_HOOK reg_hooks[] = {
+struct registry_hook reg_hooks[] = {
#ifndef REG_TDB_ONLY
{ KEY_PRINTING, &printing_ops },
{ KEY_PRINTING_2K, &printing_ops },
};
/***********************************************************************
- Open the registry database and initialize the REGISTRY_HOOK cache
+ Open the registry database and initialize the registry_hook cache
with all available backens.
***********************************************************************/