mirror of
https://github.com/samba-team/samba.git
synced 2025-08-30 17:49:30 +03:00
registry3: Align function types to what is returned
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
committed by
Ralph Boehme
parent
1d02c462f0
commit
138fdfaa40
@ -299,7 +299,7 @@ bool regsubkey_ctr_key_exists( struct regsubkey_ctr *ctr, const char *keyname )
|
|||||||
How many keys does the container hold ?
|
How many keys does the container hold ?
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
int regsubkey_ctr_numkeys( struct regsubkey_ctr *ctr )
|
uint32_t regsubkey_ctr_numkeys( struct regsubkey_ctr *ctr )
|
||||||
{
|
{
|
||||||
return ctr->num_subkeys;
|
return ctr->num_subkeys;
|
||||||
}
|
}
|
||||||
@ -341,7 +341,7 @@ WERROR regval_ctr_init(TALLOC_CTX *mem_ctx, struct regval_ctr **ctr)
|
|||||||
How many keys does the container hold ?
|
How many keys does the container hold ?
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
int regval_ctr_numvals(struct regval_ctr *ctr)
|
uint32_t regval_ctr_numvals(struct regval_ctr *ctr)
|
||||||
{
|
{
|
||||||
return ctr->num_values;
|
return ctr->num_values;
|
||||||
}
|
}
|
||||||
|
@ -43,10 +43,10 @@ int regsubkey_ctr_get_seqnum(struct regsubkey_ctr *ctr);
|
|||||||
WERROR regsubkey_ctr_addkey( struct regsubkey_ctr *ctr, const char *keyname );
|
WERROR regsubkey_ctr_addkey( struct regsubkey_ctr *ctr, const char *keyname );
|
||||||
WERROR regsubkey_ctr_delkey( struct regsubkey_ctr *ctr, const char *keyname );
|
WERROR regsubkey_ctr_delkey( struct regsubkey_ctr *ctr, const char *keyname );
|
||||||
bool regsubkey_ctr_key_exists( struct regsubkey_ctr *ctr, const char *keyname );
|
bool regsubkey_ctr_key_exists( struct regsubkey_ctr *ctr, const char *keyname );
|
||||||
int regsubkey_ctr_numkeys( struct regsubkey_ctr *ctr );
|
uint32_t regsubkey_ctr_numkeys( struct regsubkey_ctr *ctr );
|
||||||
char* regsubkey_ctr_specific_key( struct regsubkey_ctr *ctr, uint32_t key_index );
|
char* regsubkey_ctr_specific_key( struct regsubkey_ctr *ctr, uint32_t key_index );
|
||||||
WERROR regval_ctr_init(TALLOC_CTX *mem_ctx, struct regval_ctr **ctr);
|
WERROR regval_ctr_init(TALLOC_CTX *mem_ctx, struct regval_ctr **ctr);
|
||||||
int regval_ctr_numvals(struct regval_ctr *ctr);
|
uint32_t regval_ctr_numvals(struct regval_ctr *ctr);
|
||||||
uint8_t* regval_data_p(struct regval_blob *val);
|
uint8_t* regval_data_p(struct regval_blob *val);
|
||||||
uint32_t regval_size(struct regval_blob *val);
|
uint32_t regval_size(struct regval_blob *val);
|
||||||
char* regval_name(struct regval_blob *val);
|
char* regval_name(struct regval_blob *val);
|
||||||
|
Reference in New Issue
Block a user