diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-03 18:13:25 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-03 18:17:23 +1000 |
commit | f21fb4b3958fe630400b145b729c966fa9c053a9 (patch) | |
tree | d05c6b7258e75ef99ad251c93e76a0e5988fc875 /librpc/ndr | |
parent | 777143ef53864d9a6e6178bd5015f3183e14077f (diff) | |
download | samba-f21fb4b3958fe630400b145b729c966fa9c053a9.tar.gz samba-f21fb4b3958fe630400b145b729c966fa9c053a9.tar.bz2 samba-f21fb4b3958fe630400b145b729c966fa9c053a9.zip |
pidl: added int3264 as a base type
This is the type used for a variable that is 32 bits for NDR32 and 64
bits for NDR64
Diffstat (limited to 'librpc/ndr')
-rw-r--r-- | librpc/ndr/ndr_basic.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_basic.c b/librpc/ndr/ndr_basic.c index 807db59995..1a19cc9327 100644 --- a/librpc/ndr/ndr_basic.c +++ b/librpc/ndr/ndr_basic.c @@ -842,6 +842,16 @@ _PUBLIC_ void ndr_print_uint32(struct ndr_print *ndr, const char *name, uint32_t ndr->print(ndr, "%-25s: 0x%08x (%u)", name, v, v); } +_PUBLIC_ void ndr_print_int3264(struct ndr_print *ndr, const char *name, int32_t v) +{ + ndr->print(ndr, "%-25s: %d", name, v); +} + +_PUBLIC_ void ndr_print_uint3264(struct ndr_print *ndr, const char *name, uint32_t v) +{ + ndr->print(ndr, "%-25s: 0x%08x (%u)", name, v, v); +} + _PUBLIC_ void ndr_print_udlong(struct ndr_print *ndr, const char *name, uint64_t v) { ndr->print(ndr, "%-25s: 0x%016llx (%llu)", name, (unsigned long long)v, (unsigned long long)v); |