1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.c

This commit is contained in:
Michael Adam 2010-05-24 00:05:26 +02:00
parent 0e8e5d5d6e
commit 75e691ae6b
2 changed files with 20 additions and 12 deletions

View File

@ -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 */

View File

@ -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;