particular transport
*/
struct ndr_pull {
- uint32_t flags; /* LIBNDR_FLAG_* */
+ uint64_t _flags; /* LIBNDR_FLAG_* */
uint8_t *data;
uint32_t data_size;
uint32_t offset;
/* structure passed to functions that generate NDR formatted data */
struct ndr_push {
- uint32_t flags; /* LIBNDR_FLAG_* */
+ uint64_t _flags; /* LIBNDR_FLAG_* */
uint8_t *data;
uint32_t alloc_size;
uint32_t offset;
/* structure passed to functions that print IDL structures */
struct ndr_print {
- uint32_t flags; /* LIBNDR_FLAG_* */
+ uint64_t _flags; /* LIBNDR_FLAG_* */
uint32_t depth;
struct ndr_token_list switch_list;
void (*print)(struct ndr_print *, const char *, ...) PRINTF_ATTRIBUTE(2,3);
return ret;
}
-_PUBLIC_ void ndr_set_flags(uint32_t *pflags, uint32_t new_flags)
+_PUBLIC_ void ndr_set_flags(uint64_t *pflags, uint64_t new_flags)
{
/* the big/little endian flags are inter-dependent */
if (new_flags & LIBNDR_FLAG_LITTLE_ENDIAN) {
if (defined $flags) {
$self->pidl("{");
$self->indent;
- $self->pidl("uint32_t _flags_save_$e->{TYPE} = $ndr->flags;");
+ $self->pidl("uint64_t _flags_save_$e->{TYPE} = $ndr->flags;");
$self->pidl("ndr_set_flags(&$ndr->flags, $flags);");
}
}