summaryrefslogtreecommitdiff
path: root/librpc/idl/idl_types.h
AgeCommit message (Collapse)AuthorFilesLines
2011-06-01librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_stringSean Finney1-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>
2011-03-02librpc/idl: remove unused string defines from idl_types.hStefan Metzmacher1-23/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 2 14:09:44 CET 2011 on sn-devel-104
2011-02-28TODO test/review librpc: align nstring and nstring_array to 2 byteStefan Metzmacher1-2/+2
metze
2010-03-25drsblobs: remove utf8string2 from ForestTrustData.Günther Deschner1-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
2010-03-24idl: fix comment and convert whitespaces to tabsSimo Sorce1-1/+1
2010-03-23idl: fix forest trust information idlSimo Sorce1-2/+3
--validate now passes
2010-03-23idl:drsblobs add code to interpret msDS-TrustForestTrustInfoSimo Sorce1-0/+5
2010-02-18libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processingGünther Deschner1-0/+1
can be disabled for single structure elements. Guenther
2010-02-18libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.Günther Deschner1-0/+2
Guenther
2008-10-15Share idl_types.h.Jelmer Vernooij1-0/+69