summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/NDR.pm
AgeCommit message (Collapse)AuthorFilesLines
2013-03-15pidl: Add skip option to elements.Andreas Schneider1-0/+1
This option allows to skip struct elements in pull and push function. This can be used to pass flags to the structure e.g. for string values. Reviewed-by: Günther Deschner <gd@samba.org>
2012-01-14idl: add to_null propertyDavid Disseldorp1-1/+8
to_null specifies that character conversion should only occur until the null pointer in an array based string. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 14 00:51:54 CET 2012 on sn-devel-104
2011-08-06pidl: If STR_NULLTERM we concider it's a string as wellMatthieu Patou1-0/+3
2011-03-10pidl: add support for 'pipe' at the NDR layerStefan Metzmacher1-8/+125
metze
2011-03-10pidl/NDR: add ContainsPipe() functionStefan Metzmacher1-1/+15
metze
2011-03-01pidl Add support for uid_t and gid_t typesAndrew Bartlett1-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-01pidl:NDR: add support for 'ms_union' property.Stefan Metzmacher1-27/+34
metze
2010-10-23ndr dns: Add simple parserKai Blin1-0/+1
2010-10-04dnsp: Parse TXT recordsKai Blin1-1/+2
2010-10-04ndr: Add support for pulling/printing an ipv6address typeKai Blin1-0/+1
2010-09-28pidl: add support for pointers in typedefsStefan Metzmacher1-12/+21
metze
2010-09-28pidl: remove unused async property handlingStefan Metzmacher1-5/+0
metze
2010-08-28pidl:NDR: [in,out,string] doesn't need to pointersStefan Metzmacher1-1/+1
metze
2010-08-09pidl:NDR: correctly handle no pointer bracket arrays with 'string'Stefan Metzmacher1-1/+1
metze
2010-08-08pidl:NDR: correctly handle bracket arrays with 'string'Stefan Metzmacher1-0/+4
metze
2010-08-05pidl: added a new type dnsp_nameAndrew Tridgell1-1/+2
This is a name type used in DNS where each DNS component maps to a length byte followed by the string We want these to map to a char *, which is why we need to do this in PIDL
2010-05-18pidl: Allow new property 'no_srv_register'.Andrew Bartlett1-1/+2
This Samba-only property prevents pild from emitting the rpc_wbint_init function, which causes problems because it needs rpc_srv_register(). Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-09pidl:python Allow 'nopython' to workAndrew Bartlett1-0/+1
The 'nopython' flag wasn't available for use, as it failed to get past the syntax checker. Andrew Bartlett
2009-12-12pidl: Introduce new dirrective: relative_shortMatthieu Patou1-0/+3
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-10-13pidl: don't warn for compatible scalar types in unionsAndrew Tridgell1-3/+3
When we have an enum that is used as a union discriminator, what matters is that the scalar mappings are the same, not if the types are the same (otherwise we get warnings about uint1632). Thanks to gd for noticing this.
2009-10-07pidl: get the alignment right for uint1632 enums (NDR64)Andrew Tridgell1-0/+2
The default enum in NDR63 is 32 bits, not 16 bits. We need a uint1632 type to get the alignment right.
2009-10-06PIDL fix for using external types with wireshark backendronnie sahlberg1-0/+2
List, Please review this patch to pidl. Basically, we need to process the wireshark conformance file BEFORE we process the idl file since this file may define external types and set the alignment for them (using the TYPE directive). Otherwise pidl will default all external types to use 4byte alignment which breaks (much more often) on NDR64 regards ronnie sahlberg From 8f86903fc353d0906bd82e72ce19c5af09beb001 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg <ronniesahlberg@gmail.com> Date: Mon, 5 Oct 2009 15:22:43 +1100 Subject: [PATCH] In the PIDL wireshark backend, we define external types in the conformance file using the TYPE directive. If we declare external types here, we must parse this file before we process the IDL file, or else these external types will all default to 4byte padding (pidl assumes all unknown types are 4byte aligned). Make sure we read the conformance file and create these new types before we parse the idl file. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2009-10-03pidl: added int3264 as a base typeAndrew Tridgell1-0/+2
This is the type used for a variable that is 32 bits for NDR32 and 64 bits for NDR64
2009-09-29pidl: added union padding for NDR64Andrew Tridgell1-2/+9
This fixes the problem with samr UserInfo16 when NDR64 is enabled
2009-09-17s4-pidl: add support for NDR64Andrew Tridgell1-1/+4
Added support for NDR64 to the samba4 pidl generator
2009-08-07pidl: parse idl 'pipe' typedefs, but print out a not supported message for nowStefan Metzmacher1-3/+17
metze
2009-07-27pidl: add support for [string] on fixed size arrays.Stefan Metzmacher1-0/+7
midl also supports this: struct { long l1; [string] wchar_t str[16]; long l2; }; Where the wire size of str is encoded like a length_is() header: 4-byte offset == 0; 4-byte array length; The strings are zero terminated. metze
2009-06-02Add support for double type in pidl.Brad Hards1-0/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-01-17pidl: Remove "max" and make "range" smarter about unsigned typesTim Prouty1-1/+0
This eliminates a warning in pidl generated code, while preserving cross-platform idl compatibility.
2009-01-15pidl: Add max property to be used instead of range for unsigned types.Tim Prouty1-0/+1
Compilers complain about ranges starting at 0 for unsigned types, since an unsigned type is never less than 0. The max property implicitly makes 0 the lower bound when used with unsigned types.
2008-12-12Support pyhelper property to allow additional methods to be tucked onto aJelmer Vernooij1-0/+1
pidl-generated type.
2008-12-12Remove noejs property, which is no longer used.Jelmer Vernooij1-1/+0
2008-09-17Move pidl to top-level directory.Jelmer Vernooij1-0/+1235