summaryrefslogtreecommitdiffstats
path: root/pidl/lib/Parse/Pidl/NDR.pm
Commit message (Collapse)AuthorAgeFilesLines
* pidl: Improve string delection in function ContainsStringMatthieu Patou2014-10-091-0/+10
| | | | | | Change-Id: I037e8b5f54fca8b512fd14edbefa34e59cb7f953 Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl: Add skip option to elements.Andreas Schneider2013-03-151-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>
* idl: add to_null propertyDavid Disseldorp2012-01-141-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
* pidl: If STR_NULLTERM we concider it's a string as wellMatthieu Patou2011-08-061-0/+3
|
* pidl: add support for 'pipe' at the NDR layerStefan Metzmacher2011-03-101-8/+125
| | | | metze
* pidl/NDR: add ContainsPipe() functionStefan Metzmacher2011-03-101-1/+15
| | | | metze
* pidl Add support for uid_t and gid_t typesAndrew Bartlett2011-03-011-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
* pidl:NDR: add support for 'ms_union' property.Stefan Metzmacher2011-02-011-27/+34
| | | | metze
* ndr dns: Add simple parserKai Blin2010-10-231-0/+1
|
* dnsp: Parse TXT recordsKai Blin2010-10-041-1/+2
|
* ndr: Add support for pulling/printing an ipv6address typeKai Blin2010-10-041-0/+1
|
* pidl: add support for pointers in typedefsStefan Metzmacher2010-09-281-12/+21
| | | | metze
* pidl: remove unused async property handlingStefan Metzmacher2010-09-281-5/+0
| | | | metze
* pidl:NDR: [in,out,string] doesn't need to pointersStefan Metzmacher2010-08-281-1/+1
| | | | metze
* pidl:NDR: correctly handle no pointer bracket arrays with 'string'Stefan Metzmacher2010-08-091-1/+1
| | | | metze
* pidl:NDR: correctly handle bracket arrays with 'string'Stefan Metzmacher2010-08-081-0/+4
| | | | metze
* pidl: added a new type dnsp_nameAndrew Tridgell2010-08-051-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
* pidl: Allow new property 'no_srv_register'.Andrew Bartlett2010-05-181-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>
* pidl:python Allow 'nopython' to workAndrew Bartlett2010-04-091-0/+1
| | | | | | | The 'nopython' flag wasn't available for use, as it failed to get past the syntax checker. Andrew Bartlett
* pidl: Introduce new dirrective: relative_shortMatthieu Patou2009-12-121-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>
* pidl: don't warn for compatible scalar types in unionsAndrew Tridgell2009-10-131-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.
* pidl: get the alignment right for uint1632 enums (NDR64)Andrew Tridgell2009-10-071-0/+2
| | | | | The default enum in NDR63 is 32 bits, not 16 bits. We need a uint1632 type to get the alignment right.
* PIDL fix for using external types with wireshark backendronnie sahlberg2009-10-061-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>
* pidl: added int3264 as a base typeAndrew Tridgell2009-10-031-0/+2
| | | | | This is the type used for a variable that is 32 bits for NDR32 and 64 bits for NDR64
* pidl: added union padding for NDR64Andrew Tridgell2009-09-291-2/+9
| | | | This fixes the problem with samr UserInfo16 when NDR64 is enabled
* s4-pidl: add support for NDR64Andrew Tridgell2009-09-171-1/+4
| | | | Added support for NDR64 to the samba4 pidl generator
* pidl: parse idl 'pipe' typedefs, but print out a not supported message for nowStefan Metzmacher2009-08-071-3/+17
| | | | metze
* pidl: add support for [string] on fixed size arrays.Stefan Metzmacher2009-07-271-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
* Add support for double type in pidl.Brad Hards2009-06-021-0/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* pidl: Remove "max" and make "range" smarter about unsigned typesTim Prouty2009-01-171-1/+0
| | | | | This eliminates a warning in pidl generated code, while preserving cross-platform idl compatibility.
* pidl: Add max property to be used instead of range for unsigned types.Tim Prouty2009-01-151-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.
* Support pyhelper property to allow additional methods to be tucked onto aJelmer Vernooij2008-12-121-0/+1
| | | | pidl-generated type.
* Remove noejs property, which is no longer used.Jelmer Vernooij2008-12-121-1/+0
|
* Move pidl to top-level directory.Jelmer Vernooij2008-09-171-0/+1235