Line | |
---|
1 | /*
|
---|
2 | Samba's Internal Registry objects
|
---|
3 |
|
---|
4 | SMB parameters and setup
|
---|
5 | Copyright (C) Gerald Carter 2002-2006.
|
---|
6 |
|
---|
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.
|
---|
11 |
|
---|
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.
|
---|
16 |
|
---|
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.
|
---|
20 | */
|
---|
21 |
|
---|
22 | #ifndef _REG_OBJECTS_H /* _REG_OBJECTS_H */
|
---|
23 | #define _REG_OBJECTS_H
|
---|
24 |
|
---|
25 | /* structure to contain registry values */
|
---|
26 |
|
---|
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;
|
---|
34 |
|
---|
35 | /* container for registry values */
|
---|
36 |
|
---|
37 | typedef struct {
|
---|
38 | uint32 num_values;
|
---|
39 | REGISTRY_VALUE **values;
|
---|
40 | } REGVAL_CTR;
|
---|
41 |
|
---|
42 | /* container for registry subkey names */
|
---|
43 |
|
---|
44 | typedef struct {
|
---|
45 | uint32 num_subkeys;
|
---|
46 | char **subkeys;
|
---|
47 | } REGSUBKEY_CTR;
|
---|
48 |
|
---|
49 | #endif /* _REG_OBJECTS_H */
|
---|
50 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.