1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-21 12:23:50 +03:00

r6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; rename REG_CREATE_VALE -> REG_SET_VALUE

This commit is contained in:
Gerald Carter
2005-04-07 04:58:38 +00:00
committed by Gerald (Jerry) Carter
parent b3643b732b
commit 28d433351c
10 changed files with 129 additions and 148 deletions

View File

@@ -147,20 +147,12 @@ typedef struct {
/**********************************************************************
* Buffers use by winreg
* Buffers
**********************************************************************/
/*
OLD COMMENT:
BUFFER2 - unicode string, size (in uint8 ascii chars) and buffer
pathetic. some stupid team of \PIPE\winreg writers got the concept
of a unicode string different from the other \PIPE\ writers
NEW COMMENT:
buffer used by \winreg\ calls to fill in arbitrary REG_XXX values.
It *may* look like a UNISTR2 but it is *not*. This is not a goof
by the winreg developers. It is a generic buffer
*/
/* buffer used by \winreg\ calls to fill in arbitrary REG_XXX values.
It *may* look like a UNISTR2 but it is *not*. This is not a goof
by the winreg developers. It is a generic buffer */
typedef struct {
uint32 buf_max_len;
@@ -169,16 +161,16 @@ typedef struct {
uint16 *buffer;
} REGVAL_BUFFER;
typedef struct buffer3_info {
uint32 buf_max_len;
uint8 *buffer; /* Data */
/* generic rpc version of the DATA_BLOB. Just a length and uint8 array */
typedef struct {
uint32 buf_len;
} BUFFER3;
uint8 *buffer;
} RPC_DATA_BLOB;
/**********************************************************************
* Buffers use by spoolss
* Buffers use by spoolss (i might be able to replace it with
* an RPC_DATA_BLOB)
**********************************************************************/
typedef struct {
@@ -187,18 +179,6 @@ typedef struct {
} BUFFER5;
/**********************************************************************
* Buffers use by netlogon
**********************************************************************/
typedef struct {
uint32 buf_len;
uint8 *buffer;
} BUFFER4;
/**********************************************************************
* Unicode and basic string headers
**********************************************************************/