librpc:ndr: Convert NDR flags types to enumerations
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 8 Nov 2023 04:09:04 +0000 (17:09 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 15 Nov 2023 22:07:36 +0000 (22:07 +0000)
commit1e029b2cd754007cb4abac5c405ca37eb51c8a44
tree23ed9f090f37f5631681dcd7702c16a72c544642
parent2562f24d112775236a44d86404e634b1db6c992c
librpc:ndr: Convert NDR flags types to enumerations

Using an enumeration rather than ‘uint32_t’ or ‘uint64_t’ means that
debuggers such as gdb can now associate the flag constants with their
respective types. This means that if you have an instance of these flags
types, the debugger will show you the individual flags that make up the
value rather than an inscrutable integer value.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/ndr/libndr.h