summaryrefslogtreecommitdiff
path: root/pidl
Commit message (Collapse)AuthorAgeFilesLines
...
* pidl: use https urls and update dead msdn linkAurelien Aptel2016-06-202-5/+5
| | | | | | Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* pidl/ws: Eliminate e_uuid_t in favor of e_guid_tAurelien Aptel2016-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | Port Wireshark commit 499d959 Author: Guy Harris <guy@alum.mit.edu> Date: Tue Mar 3 02:47:53 2015 -0800 Eliminate e_uuid_t in favor of e_guid_t. That eliminates a redundant and confusing data type, and avoids issues with one piece of code using e_uuid_t but wanting to use routines expecting an e_guid_t. Change-Id: I95e172d46d342ab40f6254300ecbd2a0530cde60 Reviewed-on: https://code.wireshark.org/review/7506 Reviewed-by: Guy Harris <guy@alum.mit.edu> Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* pidl/ws: Remove #pragma warning (MSVC)Aurelien Aptel2016-06-201-7/+0
| | | | | | | | | | | | | | | | | Port Wireshark commit ceda0f9 Author: Alexis La Goutte <alexis.lagoutte@gmail.com> Date: Sun Oct 5 19:34:46 2014 +0200 Remove #pragma warning (MSVC) for PIDL generate dissector Change-Id: I1e4c7944a2cd877f5c707703dcff44fe9f955a2c Reviewed-on: https://code.wireshark.org/review/4479 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* pidl/ws: fix Assigned value is garbage or undefined found by Clang AnalyzerAurelien Aptel2016-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Port Wireshark commit 683d657 Author: Alexis La Goutte <alexis.lagoutte@gmail.com> Date: Sun Oct 5 19:27:15 2014 +0200 PIDL (DCERPC): fix Assigned value is garbage or undefined found by Clang Analyzer packet-dcerpc-dnsserver.c:1002:12: warning: Assigned value is garbage or undefined packet-dcerpc-frstrans.c:1137:12: warning: Assigned value is garbage or undefined packet-dcerpc-lsa.c:6345:12: warning: Assigned value is garbage or undefined packet-dcerpc-nspi.c:7805:12: warning: Assigned value is garbage or undefined packet-dcerpc-dfs.c:3245:11: warning: Function call argument is an uninitialized value packet-dcerpc-dfs.c:3245:9: warning: 'level' may be used uninitialized in this function [-Wmaybe-uninitialized] Change-Id: Ife6a2f565ae215535d0e3d72ef50800114240e3f Reviewed-on: https://code.wireshark.org/review/4478 Reviewed-by: Evan Huus <eapache@gmail.com> Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* pidl/ws: fix indent (use 4 tabs) and remove trailing whitespaceAurelien Aptel2016-06-203-76/+76
| | | | | | | | | | | | | | | | | Port Wireshark commit 4110bde Author: Alexis La Goutte <alexis.lagoutte@gmail.com> Date: Fri Sep 26 19:51:34 2014 +0200 PIDL: fix indent (use 4 tabs) and remove trailing whitespace Change-Id: I0ee63a040867b44ac9915704f5e581483ed6f7e2 Reviewed-on: https://code.wireshark.org/review/4310 Reviewed-by: Anders Broman <a.broman58@gmail.com> Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* pidl/ws: Fix Dead Store (Dead assignement/Dead increment) warning found by ClangAurelien Aptel2016-06-201-2/+6
| | | | | | | | | | | | | | | | | Port Wireshark commit f6b9e7a Author: Alexis La Goutte <alexis.lagoutte@gmail.com> Date: Sun Sep 28 20:57:13 2014 +0200 PIDL: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Change-Id: Ibae478771b30d6e9ae07315985f1e71bc6b65423 Reviewed-on: https://code.wireshark.org/review/4350 Reviewed-by: Michael Mann <mmann78@netscape.net> Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* pidl/ws: enhance dissectorAurelien Aptel2016-06-201-0/+1
| | | | | | | | | | | | | | | | | | | | | Port Wireshark commit 28ec9c2 Author: Alexis La Goutte <alexis.lagoutte@gmail.com> Date: Fri Sep 26 23:29:43 2014 +0200 PIDL (DCERPC winreg): enhance dissector * Fix PIDL generator for NOEMIT Element (fix -Wunused-function for DCERPC winreg dissector) * Fix indent (use tabs) * Remove DCERPC winreg dissector from DIRTY list Change-Id: I5d16cbfe8481a5e5f7e5df9b51735c93ae4375a7 Reviewed-on: https://code.wireshark.org/review/4322 Reviewed-by: Michael Mann <mmann78@netscape.net> Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* pidl/ws: fix -Wmissing-prototypeAurelien Aptel2016-06-201-1/+5
| | | | | | | | | | | | | | | | | | | Port Wireshark commit e759d82 Author: Alexis La Goutte <alexis.lagoutte@gmail.com> Date: Fri Sep 26 18:47:53 2014 +0200 PIDL: fix -Wmissing-prototype Change-Id: I4cae47450e8026b10bd373828f235184560e0a99 Reviewed-on: https://code.wireshark.org/review/4308 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net> Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* pidl/ws: Fix Dead Store (Dead assignement/Dead increment) warning found by ClangAurelien Aptel2016-06-201-1/+1
| | | | | | | | | | | | | | | | | Port Wireshark commit f0b5fb7 Author: Alexis La Goutte <alexis.lagoutte@gmail.com> Date: Fri Sep 26 21:31:32 2014 +0200 PIDL: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Change-Id: I7f6f974732b7905f4ea4686e1a79ca6fbef78fa8 Reviewed-on: https://code.wireshark.org/review/4319 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* Python pidl: avoid segfault with "del obj->attr"Douglas Bagnall2016-05-101-0/+8
| | | | | | | | | | | | Deleting an attribute in Python (using the "del" statement) is (at some stages along a winding path, for C objects) converted into setting the attribute to NULL. Not None, actual NULL. The way we handled this NULL was to dereference it. This changes the behaviour to raising an AttributeError, which is more or less what Python does in similar situations with builtin objects. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* pidl: Correct string handling to use talloc and be in commonAndrew Bartlett2016-05-101-42/+61
| | | | | | | | | | | | The previous string handling assumed the python variables referenced by PyString_AS_STRING had infinite life. When they were re-used the C structure started to point at unexpected things. We now check correctly for Unicode in every case, and we always duplicate the string with talloc_strdup() Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* ndr: Use ndr_steal to avoid long listsDouglas Bagnall2016-03-221-10/+16
| | | | | | | | | | When pulling complex structures like nt-acls, a long list of tokens may be produced. By removing tokens along the way with ndr_token_steal, future calls to retrieve from the token list are not as expensive. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* ndr: avoid unnecessary searches of token listDouglas Bagnall2016-03-221-14/+35
| | | | | | | | | | When pulling complex structures like nt-acls, a long list of tokens may be produced. This change means the token list won't be walked in the buffers case if the switch value is not needed. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* pidl: Use a tmp_ctx helper variableAndrew Bartlett2016-03-081-2/+13
| | | | | | | | This is so we free the ndr_push_struct_blob() return value after we make it into a string Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* pidl: Use the $mem_ctx helper variableAndrew Bartlett2016-03-081-1/+1
| | | | | | | This is already set to pytalloc_get_mem_ctx(py_obj) Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* pidl: Fix our python reference handlingAndrew Bartlett2016-03-081-5/+7
| | | | | | | | | | | | The new talloc.BaseObject allow us to hold a talloc context per python object (there may be many referring to the same C object) and the talloc context that the actual object pointer is under. Another advantage is that talloc.BaseObject(), has less of an ABI surface. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* pidl: Change PyGetSetDef in generated python bindings to use C99 initialisersAndrew Bartlett2016-01-181-2/+9
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* pidl: Use PY_SSIZE_T_CLEANAndrew Bartlett2016-01-071-1/+2
| | | | | | | This changes the type used for # arguments to PyArg_ParseTupleAndKeywords Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* build:wafsamba: removed most import * statementsThomas Nagy2015-10-281-4/+1
| | | | | | | | | | | | | The 'import *' statements make it more difficult to reason about the modules and tends to conceal bugs. These changes enable running pyflakes against most of the build scripts. Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Oct 28 12:52:17 CET 2015 on sn-devel-104
* pidl/python: also add a ndr_PyLong_FromLongLong() for symnetric reasonsStefan Metzmacher2015-09-011-1/+10
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=11429 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl/python: Provide static inline helper function ↵Andrew Bartlett2015-09-011-3/+12
| | | | | | | | | | | | | | | | | | | ndr_PyLong_FromUnsignedLongLong This should isolate any coverity warnings on 64-bit platforms (where LONG_MAX is larger than any possible 32 bit value) to a single spot, or possibly eliminate it. This is needed for the unsigned 64 bit case, and on 32 bit systems, as PyInt_FromLong is limited to a signed "long" int. The compiler should be able to eliminate many of these calls with the embedded type knowlege. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11429 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl/python: Calculate maximum integer values using a lookup tableAndrew Bartlett2015-09-011-2/+39
| | | | | | | | | | | | | This avoids a << of 64 bits in the unused end of the conditional expression. This was flagged by Coverity and the fix was suggested by metze. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11429 Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl: Assert that python arrays will not overflow the C arrayAndrew Bartlett2015-08-241-0/+7
| | | | | | | | | | We do not write network services in Python, so this is not a security issue, but would cause a crash or other odd behaviour if the length was changed BUG: https://bugzilla.samba.org/show_bug.cgi?id=11430 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl: Change PIDL to correctly use and validate python integer typesAndrew Bartlett2015-08-241-35/+118
| | | | | | | | | | | | | | | | | In particular, it is critical that we use unsigned integers of sufficient size in python for unsigned C integers, and it is critical that we check for overflow at both the python and C level. Otherwise, we may both represent and sort these incorrectly, in particular when sorting attributeID values from DRSUAPI which are represented as an signed enum in C and a uint32_t in IDL, but which often has the high bit set (in schema extensions). BUG: https://bugzilla.samba.org/show_bug.cgi?id=11429 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl: merge multiple 'genpad' implementations into one.Günther Deschner2015-07-245-39/+21
| | | | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Jul 24 16:44:16 CEST 2015 on sn-devel-104
* pidl:Samba4/NDR/Parser: always initialize _mem_save_ pointers to NULLStefan Metzmacher2015-07-071-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* pidl:Samba3/ServerNDR: add pidl_reset() and pidl_return() helper functionsStefan Metzmacher2015-07-071-3/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* pidl:Samba3/ServerNDR: make CallWithStruct() more flexibleStefan Metzmacher2015-07-071-11/+23
| | | | | | | | We now pass multiple callbacks $check, $cleanup, $return down to AllocOutVar(). Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* pidl:Samba3/ServerNDR: simplify CallWithStruct()Stefan Metzmacher2015-07-071-5/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* Treat uid_t, git_t as 64 bit in Pidl Python bindingsDouglas Bagnall2015-07-071-4/+6
| | | | | | | | | | | This follows their treatment in librpc/ndr/ndr_basic.c. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jul 7 07:19:49 CEST 2015 on sn-devel-104
* remove trailing whitespace in Pidl/Samba4/Python.pmDouglas Bagnall2015-06-241-14/+14
| | | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Treat unsigned 64 bit IDL values as unsigned long long in PythonDouglas Bagnall2015-06-241-1/+5
| | | | | | | | | | | This caused a compilation error on i386: default/librpc/gen_ndr/py_server_id.c:216:75: error: overflow in implicit constant conversion [-Werror=overflow] PyModule_AddObject(m, "SERVERID_UNIQUE_ID_NOT_TO_VERIFY", PyInt_FromLong(0xFFFFFFFFFFFFFFFFULL)); Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* pidl:NDR/Parser: check [ref] pointers before pushing anything elseStefan Metzmacher2015-06-121-7/+45
| | | | | | | | This was reported by Coverity as CID 1288527: Null pointer dereferences (REVERSE_INULL) Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* pidl:NDR/Parser: protect for loops against $length being an expression ↵Stefan Metzmacher2015-06-121-5/+5
| | | | | | | | | | | | | | | | | instead of a scalar variable This changes for (value_cntr_1 = 0; value_cntr_1 < r->out.length?*r->out.length:0; value_cntr_1++) { into: for (value_cntr_1 = 0; value_cntr_1 < (r->out.length?*r->out.length:0); value_cntr_1++) { it fixes a possible endless loop resulting in a crash. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* pidl:Python: protect for loops against $length being an expression instead ↵Stefan Metzmacher2015-06-121-1/+1
| | | | | | | | | | | | | | | | | of a scalar variable This changes for (value_cntr_1 = 0; value_cntr_1 < r->out.length?*r->out.length:0; value_cntr_1++) { into: for (value_cntr_1 = 0; value_cntr_1 < (r->out.length?*r->out.length:0); value_cntr_1++) { it fixes a possible endless loop resulting in a crash. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* pidl:Python: use discard_const() to pass a possible const pointer to ↵Stefan Metzmacher2015-06-121-1/+1
| | | | | | | talloc_unlink() Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* pidl:Samba3/ServerNDR: normalize {RETURN_TYPE} by using mapTypeName()Stefan Metzmacher2015-05-151-1/+1
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri May 15 22:19:38 CEST 2015 on sn-devel-104
* pidl/python: add prototypes into header section of generated c-files.Günther Deschner2015-03-251-0/+2
| | | | | | | | | | | | | This stops emmiting hundreds of warnings when compiling with -Wmissing-prototypes. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Mar 25 20:45:01 CET 2015 on sn-devel-104
* Explicitly include util/debug.h from server stubs generated by pidl.Jelmer Vernooij2015-03-241-0/+1
| | | | | | | | | | This is necessary since Server.pm generates calls to DEBUG(). Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Mar 24 02:40:00 CET 2015 on sn-devel-104
* pidl: align s4 dcesrv template generation with coding standards.Günther Deschner2015-03-131-11/+23
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl: add --template3 option to generate s3 server stubs.Günther Deschner2015-03-132-0/+111
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl/python: support HRESULT errors in generated python bindings.Günther Deschner2015-03-131-0/+9
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl: support HRESULT in pidl.Günther Deschner2015-03-131-1/+1
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Remove use of the "staticforward" macroPetr Viktorin2015-01-221-2/+2
| | | | | | | | | | This macro was used for compatibility with broken compilers. Since Python 2.3, it is always defined as `static`, and only exists "for source compatibility with old C extensions". Signed-off-by: Petr Viktorin <pviktori@redhat.com> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* Clean up more whitespace.Guy Harris2014-11-223-7/+7
| | | | | | Reviewed-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-By: Kamen Mazdrashki <kamenim@samba.org> Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
* pidl: White space cleanups in Conformance.pm and NDR.pmGuy Harris2014-11-192-98/+98
| | | | | | | | | | Change-Id: Ibf106d023c50a7f3caf8f416e9927ac4a040f2c0 Bug: https://bugzilla.samba.org/show_bug.cgi?id=10842 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Wed Nov 19 05:06:33 CET 2014 on sn-devel-104
* pidl-wireshark: SWITCH_TYPE is not always defined, SwitchType() will try to ↵Matthieu Patou2014-10-241-21/+38
| | | | | | | | | | | | find a fallback Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Matthieu Patou <mat@matws.net> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Oct 24 01:39:16 CEST 2014 on sn-devel-104
* pidl-wireshark: generate ALIGN_TO_x_BYTES instructions if the element has ↵Matthieu Patou2014-10-231-0/+6
| | | | | | | the align_x flag Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pidl-wireshark: if the structure has the flag no_align then set also ↵Matthieu Patou2014-10-231-5/+24
| | | | | | | | | | | | no_align in the dceprc_info structure Some dissection function will try to do alignment if the no_align flag is not set. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Matthieu Patou <mat@matws.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* pidl-wireshark: handle 8 bits enum and change the signature of enum function ↵Matthieu Patou2014-10-231-6/+6
| | | | | | | | | | | | to pass the exact type Instead of passing a uint32 in all cases we pass the exact type Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Change-Id: Ib79f1fa56d5aeb30c6e57eea8f0a48db60f6484d Signed-off-by: Matthieu Patou <mat@matws.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>