summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-19librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()Stefan Metzmacher1-2/+8
metze
2010-02-18libndr: fix ndr_size_* calculation with relative reverse buffersStefan Metzmacher1-0/+6
metze
2010-02-18libndr: for now align reverse relative pointers to 2 bytes by default.Stefan Metzmacher1-0/+3
This is just a hack and we should let the callers use FLAG_ALIGN2 explicit in future. metze
2010-02-18libndr: implement LIBNDR_RELATIVE_REVERSE handlingStefan Metzmacher1-3/+86
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: give an error when ndr_push_relative_ptr2_start()/_end() is used ↵Stefan Metzmacher1-1/+6
with the RELATIVE_REVERSE flag metze
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: change subcontext buffer allocation to allocate on subcontext_start.Günther Deschner1-3/+7
Guenther
2010-02-18librpc/ndr: make ndr_push_relative_ptr2() staticStefan Metzmacher1-1/+1
metze
2010-02-18libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.Günther Deschner1-0/+24
Guenther
2009-12-12librpc/ndr: add support for relative_short pointersMatthieu Patou1-0/+42
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-11-20librpc/ndr: remember the highest offset we parsed with relative pointer buffersStefan Metzmacher1-6/+21
ndr_*_pull_blob_all() will now work if relative pointers are used. metze
2009-09-17ndr: split out ndr enum functionsAndrew Tridgell1-4/+4
This allows for easier implementation of the NDR32/NDR64 split
2009-09-17ndr: added support for NDR64 Andrew Tridgell1-0/+3
This adds NDR64 support for the push functions in libndr
2009-09-16ndr: added --ndr64 flag to ndrdumpAndrew Tridgell1-3/+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-9/+16
We needed to free the ndr structures, both on error and normal return
2009-09-03fix the ndr print routines for samba4Andrew Tridgell1-0/+15
This uses a hackish #if just for samba4. The proper fix is much more complex.
2009-09-03Fix for DSSYNC test against Windows 2003Anatoliy Atanasov1-0/+1
2009-06-12Revert "avoid crashes in ndr_print_*() calls"Andrew Tridgell1-5/+0
This reverts commit f5a47dc4bf2793ab328c8b0e35adace497819e7d. This change broke Samba3. We'll need to do it the long way.
2009-06-12avoid crashes in ndr_print_*() callsAndrew Tridgell1-0/+5
This is a hackish fix, but it will do for now
2009-03-10Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslogVolker Lendecke1-5/+5
I think we eventually need to pass down the debuglevel here.
2009-01-26Add function for mapping NDR error codes to strings.Jelmer Vernooij1-0/+35
2009-01-20librpc: Fix warning caused by some empty debug stringsTim Prouty1-3/+3
It would probably be better to create a new macro such as DEBUGHDR to allow empty strings for debug statements, but for the short term this eliminates the warning with no negative consequences.
2009-01-19ndr_print: fix the output ndr debug messages only add header line onceStefan Metzmacher1-0/+6
metze (from samba4wins tree e99531aae325e4443fcb917a75dfe4a86b892583)
2009-01-01Add iconv_convenience argument to size functions.Jelmer Vernooij1-4/+4
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-2/+2
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
2008-10-13Share ndr.c implementation.Jelmer Vernooij1-0/+1118