summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_basic.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-04ndr: Implement push function for IPv6 addressesKai Blin1-4/+11
Thanks to Julien Kerihuel for providing the patch that pushed me to finish my own IPv6 patches.
2010-10-04ndr: Add support for pulling/printing an ipv6address typeKai Blin1-2/+50
2010-09-16pidl: prevent ndr_print_*() dying on NULL pointersAndrew Tridgell1-0/+10
when using ndrdump you can get uninitialised structures containing pointers. Don't segfault when trying to print them
2010-08-21s4-ndr_basic.c: Fix ndr_*_hyper() when [bigendian] data is processedKamen Mazdrashki1-0/+6
2010-08-14ndr: allow ndr_print to print DATA_BLOBAndrew Tridgell1-1/+48
this prints DATA_BLOB structures using the ndr->print() calls Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-05-27libndr: add support for relative_rap_convert.Günther Deschner1-0/+1
Will not harm anyone, is only used for rare short (2byte) relative pointers, and relative_rap_convert is always 0 so far (as all init functions using struct ndr_pull will zero the struct). Guenther
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell1-0/+1
These were causing thousands of warnings on solaris8
2009-12-12librpc/ndr: add support for relative_short pointersMatthieu Patou1-0/+12
relative_short is like relative but instead of having the offset coded on 4 bytes it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-10-07pidl: get the alignment right for uint1632 enums (NDR64)Andrew Tridgell1-15/+63
The default enum in NDR63 is 32 bits, not 16 bits. We need a uint1632 type to get the alignment right.
2009-10-03pidl: added int3264 as a base typeAndrew Tridgell1-0/+10
This is the type used for a variable that is 32 bits for NDR32 and 64 bits for NDR64
2009-10-02ndr64: added support for trailing gap alignmentAndrew Tridgell1-0/+18
NDR64 has a 'trailing gap' alignment, which aligns the end of a structure on the overall structure alignment. This explains the discrepancy we had with the RPC-SAMR test and NDR64
2009-09-29pidl: added union padding for NDR64Andrew Tridgell1-0/+18
This fixes the problem with samr UserInfo16 when NDR64 is enabled
2009-09-17ndr: split out ndr enum functionsAndrew Tridgell1-0/+67
This allows for easier implementation of the NDR32/NDR64 split
2009-09-17ndr: added support for NDR64 Andrew Tridgell1-5/+37
This adds NDR64 support for the push functions in libndr
2009-09-17Remove ununsed variable warning.Jeremy Allison1-1/+0
Jeremy.
2009-09-16ndr: added --ndr64 flag to ndrdumpAndrew Tridgell1-2/+22
This only does pull, but it is useful for w2k8-r2 <-> w2k8-r2 ndrdump usage, which is always 64bit.
2009-06-02Add support for double type in pidl.Brad Hards1-1/+30
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-05-02Of course, s_addr is a #define somewhere else .... (Solaris...)Volker Lendecke1-3/+3
2009-05-02Fix a warning on host "gwen"Volker Lendecke1-2/+3
cc: "../librpc/ndr/ndr_basic.c", line 572: warning 604: Pointers are not assignment-compatible. Apparently in_addr.s_addr is not compatible to uint32_t, maybe a 32-bit signed int.
2008-12-31Fix typo found by Volker. Thanks for the review.Jeremy Allison1-1/+1
Jeremy.
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison1-2/+1
Jeremy.
2008-10-13Share ndr_basic implementation.Jelmer Vernooij1-0/+833