Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-01 | librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_string | Sean Finney | 1 | -0/+1 | |
Introduce a new flag, LIBNDR_FLAG_STR_RAW8, which indicates that libndr should not attempt to convert the corresponding byte sequence, and place the responsibility on the caller to do so later. This is needed in cases where the string is known to be 8-bit and either NULL terminated or of known length, but in an unspecified character set. For example, when pulling PT_STRING8 properties from an exchange server via libmapi + libndr, the codepage is neither known nor in the control of the caller, and is determined by subsequent properties requested from the server. Therefore the client would like to fetch all properties in one large batch, and convert the resulting strings locally. This commit also includes some (basic) tests of each of the flags' respective behaviors with the ndr push/pull string functions, in a new source4 torture test suite ndr.ndr_string. Signed-off-by: Sean Finney <seanius@seanius.net> | |||||
2011-05-18 | librpc/ndr Merge ndr_print_sockaddr_storage() into common code | Andrew Bartlett | 1 | -0/+3 | |
There is no longer a reason to leave this source3 specific, and this brings it into a library (avoiding duplicate symbols). Andrew Bartlett | |||||
2011-03-10 | librpc/ndr: add ndr_push_pipe_chunk_trailer() and ndr_check_pipe_chunk_trailer() | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-03-10 | librpc/ndr: add ndr_interface_call_pipe | Stefan Metzmacher | 1 | -0/+16 | |
metze | |||||
2011-03-01 | pidl Add support for uid_t and gid_t types | Andrew Bartlett | 1 | -0/+2 | |
These are mapped to uint64_t, which should be big enough. This is proposed to be used for internal Samba representations, where it would be more painful to convert all the callers to an uint64_t calling convention. Andrew Bartlett | |||||
2011-02-17 | libndr: remove prototype for nonexisting function ndr_print_ipv4_addr(). | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-02-08 | libndr: apply some const and make is_valid_policy_hnd a callback to ↵ | Günther Deschner | 1 | -1/+1 | |
policy_handle_empty. Guenther | |||||
2011-02-08 | libndr: share some uuid helpers. | Günther Deschner | 1 | -0/+3 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104 | |||||
2011-02-08 | ndr: merge ndr_map_error2string and ndr_errstr. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-08 | ndr: move null_ndr_syntax_id to the common libndr location. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-01-25 | libndr: move ndr_print_bool to ndr_basic.c | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-10-27 | librpc Make ndrdump use printf() rather than having to mess with DEBUG() | Andrew Bartlett | 1 | -0/+1 | |
This means it no longer needs to force the debug level etc. (this builds on the fine work by Volker to create dump_data_cb()) Andrew Bartlett | |||||
2010-10-23 | ndr dns: Add simple parser | Kai Blin | 1 | -0/+1 | |
2010-10-05 | Revert "libndr: fix "excess elements in struct initializer" warning." | Günther Deschner | 1 | -1/+0 | |
This reverts commit a416ff26d6ada4ee96bf3963866f67d5788162d1. | |||||
2010-10-05 | libndr: fix "excess elements in struct initializer" warning. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-10-04 | ndr: Implement push function for IPv6 addresses | Kai Blin | 1 | -0/+1 | |
Thanks to Julien Kerihuel for providing the patch that pushed me to finish my own IPv6 patches. | |||||
2010-10-04 | ndr: Add support for pulling/printing an ipv6address type | Kai Blin | 1 | -0/+1 | |
2010-09-28 | librpc/ndr: remove 'async' from ndr_interface_call | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2010-09-16 | pidl: prevent ndr_print_*() dying on NULL pointers | Andrew Tridgell | 1 | -0/+1 | |
when using ndrdump you can get uninitialised structures containing pointers. Don't segfault when trying to print them | |||||
2010-08-14 | ndr: allow ndr_print to print DATA_BLOB | Andrew Tridgell | 1 | -0/+1 | |
this prints DATA_BLOB structures using the ndr->print() calls Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-05-27 | libndr: add support for relative_rap_convert. | Günther Deschner | 1 | -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-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 1 | -15/+10 | |
2010-02-18 | libndr: implement LIBNDR_RELATIVE_REVERSE handling | Stefan Metzmacher | 1 | -0/+1 | |
This is based on Guenther's initial code. metze | |||||
2010-02-18 | libndr: store a subcontext buffer size in ndr_push_subcontext_start. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-02-18 | libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processing | Günther Deschner | 1 | -0/+3 | |
can be disabled for single structure elements. Guenther | |||||
2010-02-18 | libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-02-18 | librpc/ndr: make ndr_push_relative_ptr2() static | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2010-02-18 | libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2009-12-14 | librpc/ndr: avoid comparison_fn_t to fix the openchange build on solaris | Brian Lu | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-12-14 | librpc/ndr: add missing prototypes for relative_short functions | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2009-12-10 | libndr: added a GUID_to_ndr_blob() helper function | Andrew Tridgell | 1 | -0/+1 | |
This can be used in many places that deal with GUIDs | |||||
2009-12-10 | librpc: split out a separate GUID_from_ndr_blob() function | Andrew Tridgell | 1 | -0/+1 | |
This will simplify many of the places that deal with NDR formatted GUIDs | |||||
2009-11-20 | librpc/ndr: remember the highest offset we parsed with relative pointer buffers | Stefan Metzmacher | 1 | -0/+1 | |
ndr_*_pull_blob_all() will now work if relative pointers are used. metze | |||||
2009-10-07 | pidl: get the alignment right for uint1632 enums (NDR64) | Andrew Tridgell | 1 | -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-05 | libndr: add int3264 ndr prototype. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-10-02 | ndr64: added support for trailing gap alignment | Andrew Tridgell | 1 | -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-29 | pidl: added union padding for NDR64 | Andrew Tridgell | 1 | -0/+2 | |
This fixes the problem with samr UserInfo16 when NDR64 is enabled | |||||
2009-09-17 | ndr: split out ndr enum functions | Andrew Tridgell | 1 | -0/+7 | |
This allows for easier implementation of the NDR32/NDR64 split | |||||
2009-09-17 | ndr: added support for NDR64 | Andrew Tridgell | 1 | -13/+14 | |
This adds NDR64 support for the push functions in libndr | |||||
2009-09-16 | ndr: added --ndr64 flag to ndrdump | Andrew Tridgell | 1 | -0/+3 | |
This only does pull, but it is useful for w2k8-r2 <-> w2k8-r2 ndrdump usage, which is always 64bit. | |||||
2009-09-12 | s4-ndr: fixed memory leaks in ndr_pull_*_blob() | Andrew Tridgell | 1 | -0/+10 | |
We needed to free the ndr structures, both on error and normal return | |||||
2009-08-24 | libndr: add missing protoypes for double type. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-08-12 | when we get an NDR error in the logs, it is useful to know where it happened | Andrew Tridgell | 1 | -1/+1 | |
2009-02-03 | librpc: add ndr_size_string_array(). | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-01-26 | Add function for mapping NDR error codes to strings. | Jelmer Vernooij | 1 | -0/+1 | |
2009-01-01 | Add iconv_convenience argument to size functions. | Jelmer Vernooij | 1 | -2/+3 | |
2008-11-16 | librpc/ndr: add GUID_hexstring() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2008-11-16 | Add a new function to parse a DATA_BLOB into a GUID | Andrew Bartlett | 1 | -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-24 | Move charset library to top level. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-23 | Fix "parameter has incomplete type" build warning. | Tim Prouty | 1 | -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 |