summaryrefslogtreecommitdiff
path: root/librpc/ndr/libndr.h
AgeCommit message (Collapse)AuthorFilesLines
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-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-15/+10
2010-02-18libndr: implement LIBNDR_RELATIVE_REVERSE handlingStefan Metzmacher1-0/+1
This is based on Guenther's initial code. metze
2010-02-18libndr: store a subcontext buffer size in ndr_push_subcontext_start.Günther Deschner1-0/+1
Guenther
2010-02-18libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processingGünther Deschner1-0/+3
can be disabled for single structure elements. Guenther
2010-02-18libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.Günther Deschner1-0/+2
Guenther
2010-02-18librpc/ndr: make ndr_push_relative_ptr2() staticStefan Metzmacher1-1/+0
metze
2010-02-18libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.Günther Deschner1-0/+2
Guenther
2009-12-14librpc/ndr: avoid comparison_fn_t to fix the openchange build on solarisBrian Lu1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14librpc/ndr: add missing prototypes for relative_short functionsStefan Metzmacher1-0/+3
metze
2009-12-10libndr: added a GUID_to_ndr_blob() helper functionAndrew Tridgell1-0/+1
This can be used in many places that deal with GUIDs
2009-12-10librpc: split out a separate GUID_from_ndr_blob() functionAndrew Tridgell1-0/+1
This will simplify many of the places that deal with NDR formatted GUIDs
2009-11-20librpc/ndr: remember the highest offset we parsed with relative pointer buffersStefan Metzmacher1-0/+1
ndr_*_pull_blob_all() will now work if relative pointers are used. metze
2009-10-07pidl: get the alignment right for uint1632 enums (NDR64)Andrew Tridgell1-0/+3
The default enum in NDR63 is 32 bits, not 16 bits. We need a uint1632 type to get the alignment right.
2009-10-05libndr: add int3264 ndr prototype.Günther Deschner1-0/+1
Guenther
2009-10-02ndr64: added support for trailing gap alignmentAndrew Tridgell1-0/+2
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/+2
This fixes the problem with samr UserInfo16 when NDR64 is enabled
2009-09-17ndr: split out ndr enum functionsAndrew Tridgell1-0/+7
This allows for easier implementation of the NDR32/NDR64 split
2009-09-17ndr: added support for NDR64 Andrew Tridgell1-13/+14
This adds NDR64 support for the push functions in libndr
2009-09-16ndr: added --ndr64 flag to ndrdumpAndrew Tridgell1-0/+3
This only does pull, but it is useful for w2k8-r2 <-> w2k8-r2 ndrdump usage, which is always 64bit.
2009-09-12s4-ndr: fixed memory leaks in ndr_pull_*_blob()Andrew Tridgell1-0/+10
We needed to free the ndr structures, both on error and normal return
2009-08-24libndr: add missing protoypes for double type.Günther Deschner1-0/+1
Guenther
2009-08-12when we get an NDR error in the logs, it is useful to know where it happenedAndrew Tridgell1-1/+1
2009-02-03librpc: add ndr_size_string_array().Günther Deschner1-0/+1
Guenther
2009-01-26Add function for mapping NDR error codes to strings.Jelmer Vernooij1-0/+1
2009-01-01Add iconv_convenience argument to size functions.Jelmer Vernooij1-2/+3
2008-11-16librpc/ndr: add GUID_hexstring()Stefan Metzmacher1-0/+1
metze
2008-11-16Add a new function to parse a DATA_BLOB into a GUIDAndrew Bartlett1-0/+1
The reason for this new function is to ensure the length is not discarded when the input is a ldb_val (aka DATA_BLOB) in ldb. Andrew Bartlett
2008-10-24Move charset library to top level.Jelmer Vernooij1-1/+1
2008-10-23Fix "parameter has incomplete type" build warning.Tim Prouty1-0/+5
When libcli-util was moved to the top level (3be0f6ea56ed8e43cd287ed020e942efb675b87b) it introduced a build warning. Since ndr_map_error2ntstatus depends on the definition of enum ndr_err_code and libndr.h can't be easily included in error.h, I moved the definition of enum ndr_err_code to libndr.h. This also eliminates the need for the duplicate definition in proto.h
2008-10-23Use common error definitions.Jelmer Vernooij1-3/+1
2008-10-15Share libndr.h between Samba 3 and Samba 4.Jelmer Vernooij1-0/+521