summaryrefslogtreecommitdiff
path: root/librpc/idl/idl_types.h
Commit message (Collapse)AuthorAgeFilesLines
* librpc/ndr: add LIBNDR_FLAG_SUBCONTEXT_NO_UNREAD_BYTESStefan Metzmacher2014-01-071-0/+2
| | | | | | | | This lets ndr_pull_subcontext_end() make sure that all subcontext bytes are consumed otherwise it returns NDR_ERR_UNREAD_BYTES. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_stringSean Finney2011-06-011-0/+6
| | | | | | | | | | | | | | | | | | | | 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>
* librpc/idl: remove unused string defines from idl_types.hStefan Metzmacher2011-03-021-23/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 2 14:09:44 CET 2011 on sn-devel-104
* TODO test/review librpc: align nstring and nstring_array to 2 byteStefan Metzmacher2011-02-281-2/+2
| | | | metze
* drsblobs: remove utf8string2 from ForestTrustData.Günther Deschner2010-03-251-6/+0
| | | | | | | | Simo, it's not really worth to add a new idl type just for being able to omit the size field. The size field is part of the spec in MS-ADTS 7.1.6.9.3.1 so we should have it as well. Guenther
* idl: fix comment and convert whitespaces to tabsSimo Sorce2010-03-241-1/+1
|
* idl: fix forest trust information idlSimo Sorce2010-03-231-2/+3
| | | | --validate now passes
* idl:drsblobs add code to interpret msDS-TrustForestTrustInfoSimo Sorce2010-03-231-0/+5
|
* libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processingGünther Deschner2010-02-181-0/+1
| | | | | | can be disabled for single structure elements. Guenther
* libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.Günther Deschner2010-02-181-0/+2
| | | | Guenther
* Share idl_types.h.Jelmer Vernooij2008-10-151-0/+69