mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
librpc/ndr: align the definition of LIBNDR_STRING_FLAGS with currently defined flags
The range included the unused (1<<14) before. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
81bbfb0105
commit
91d8272e86
@ -125,7 +125,19 @@ struct ndr_print {
|
||||
#define LIBNDR_FLAG_STR_CHARLEN (1<<11)
|
||||
#define LIBNDR_FLAG_STR_UTF8 (1<<12)
|
||||
#define LIBNDR_FLAG_STR_RAW8 (1<<13)
|
||||
#define LIBNDR_STRING_FLAGS (0x7FFC)
|
||||
#define LIBNDR_STRING_FLAGS (0 | \
|
||||
LIBNDR_FLAG_STR_ASCII | \
|
||||
LIBNDR_FLAG_STR_LEN4 | \
|
||||
LIBNDR_FLAG_STR_SIZE4 | \
|
||||
LIBNDR_FLAG_STR_NOTERM | \
|
||||
LIBNDR_FLAG_STR_NULLTERM | \
|
||||
LIBNDR_FLAG_STR_SIZE2 | \
|
||||
LIBNDR_FLAG_STR_BYTESIZE | \
|
||||
LIBNDR_FLAG_STR_CONFORMANT | \
|
||||
LIBNDR_FLAG_STR_CHARLEN | \
|
||||
LIBNDR_FLAG_STR_UTF8 | \
|
||||
LIBNDR_FLAG_STR_RAW8 | \
|
||||
0)
|
||||
|
||||
/* Disable string token compression */
|
||||
#define LIBNDR_FLAG_NO_COMPRESSION (1<<15)
|
||||
|
Loading…
x
Reference in New Issue
Block a user