Mark some targets phony
[Samba.git] / source / include / reg_objects.h
blob1f819df999bbd32b69fa9fc2f9d481b361fb6226
1 /*
2 Samba's Internal Registry objects
4 SMB parameters and setup
5 Copyright (C) Gerald Carter 2002-2006.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef _REG_OBJECTS_H /* _REG_OBJECTS_H */
23 #define _REG_OBJECTS_H
25 /* structure to contain registry values */
27 typedef struct {
28 fstring valuename;
29 uint16 type;
30 /* this should be encapsulated in an RPC_DATA_BLOB */
31 uint32 size; /* in bytes */
32 uint8 *data_p;
33 } REGISTRY_VALUE;
35 /* container for registry values */
37 typedef struct {
38 uint32 num_values;
39 REGISTRY_VALUE **values;
40 } REGVAL_CTR;
42 /* container for registry subkey names */
44 typedef struct {
45 uint32 num_subkeys;
46 char **subkeys;
47 } REGSUBKEY_CTR;
49 #endif /* _REG_OBJECTS_H */