From 47fa1d33e4a6b9aeaf06ad2c12d9744bdf967bb9 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 13 Dec 2004 00:45:29 +0000 Subject: r4166: More small API fixes, keep registry structs as small as possible. Implement DelValue in the RPC server (This used to be commit f6b9ec89af934e837069fb26c0e3491fc78ebc12) --- source4/include/registry.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source4/include') diff --git a/source4/include/registry.h b/source4/include/registry.h index 345d6fac43..5865636836 100644 --- a/source4/include/registry.h +++ b/source4/include/registry.h @@ -75,10 +75,8 @@ struct registry_key { const char *path; /* Full path to the key */ char *class_name; /* Name of key class */ NTTIME last_mod; /* Time last modified */ - SEC_DESC *security; struct registry_hive *hive; void *backend_data; - int ref; }; struct registry_value { @@ -86,10 +84,6 @@ struct registry_value { unsigned int data_type; int data_len; void *data_blk; /* Might want a separate block */ - struct registry_hive *hive; - struct registry_key *parent; - void *backend_data; - int ref; }; /* FIXME */ @@ -142,7 +136,7 @@ struct hive_operations { /* Value management */ WERROR (*set_value)(struct registry_key *, const char *name, int type, void *data, int len); - WERROR (*del_value)(struct registry_value *); + WERROR (*del_value)(struct registry_key *, const char *valname); }; struct registry_hive { -- cgit