diff options
-rw-r--r-- | source3/include/reg_objects.h | 14 | ||||
-rw-r--r-- | source3/registry/reg_objects.c | 18 |
2 files changed, 20 insertions, 12 deletions
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h index 282b1a63dd..a0a830622c 100644 --- a/source3/include/reg_objects.h +++ b/source3/include/reg_objects.h @@ -23,13 +23,7 @@ /* low level structure to contain registry values */ -struct regval_blob { - fstring valuename; - uint16 type; - /* this should be encapsulated in an RPC_DATA_BLOB */ - uint32 size; /* in bytes */ - uint8 *data_p; -}; +struct regval_blob; /* * A REG_SZ string is not necessarily NULL terminated. When retrieving it from @@ -58,11 +52,7 @@ struct registry_value { /* container for registry values */ -struct regval_ctr { - uint32 num_values; - struct regval_blob **values; - int seqnum; -}; +struct regval_ctr; /* container for registry subkey names */ diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c index 6765a7d7d0..5555946128 100644 --- a/source3/registry/reg_objects.c +++ b/source3/registry/reg_objects.c @@ -25,6 +25,24 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_REGISTRY +/* low level structure to contain registry values */ + +struct regval_blob { + fstring valuename; + uint16 type; + /* this should be encapsulated in an RPC_DATA_BLOB */ + uint32 size; /* in bytes */ + uint8 *data_p; +}; + +/* container for registry values */ + +struct regval_ctr { + uint32 num_values; + struct regval_blob **values; + int seqnum; +}; + struct regsubkey_ctr { uint32_t num_subkeys; char **subkeys; |