aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal_gen.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer2002-08-021-9/+1
| | | | | | | | equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
* From Joerg Mayer:Guy Harris2002-07-171-6/+1
| | | | | | | | | | | | | | | dftest.c: Remove #if-0-ed includes packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c, packet-wtp.c, ethereal_gen.py: Remove redundant include varargs (already in snprintf.h, and required only for snprintf.h) Remove unused include of snprintf.h from files not using "snprintf()". svn path=/trunk/; revision=5889
* Get rid of "template_main_dissector_switch_msgtype_end", and get rid ofGuy Harris2002-05-061-27/+1
| | | | | | the unused "offset_saved" variable, as per comments by Frank Singleton. svn path=/trunk/; revision=5408
* From Frank Singleton: fix for the handling of enum types.Guy Harris2002-05-061-2/+2
| | | | svn path=/trunk/; revision=5407
* In the generated code, mark possibly-unused arguments as such.Guy Harris2002-05-041-6/+10
| | | | svn path=/trunk/; revision=5389
* Bug fix from Frank Singleton.Guy Harris2002-04-191-2/+2
| | | | svn path=/trunk/; revision=5205
* From Frank Singleton:Guy Harris2002-01-231-185/+7
| | | | | | | - Cleanup of unused code after implementing recursion - Fix some spelling errors. svn path=/trunk/; revision=4603
* From Frank Singleton:Guy Harris2002-01-211-14/+429
| | | | | | | | | - Code generation handles recursive Structs - Code generation handle recursive Unions - Improve readability of code generation. Structs and Unions now have their own helper functions generated. svn path=/trunk/; revision=4589
* Include files from the "epan" directory and subdirectories thereof withGuy Harris2002-01-211-3/+3
| | | | | | | | | | | | | "epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). svn path=/trunk/; revision=4587
* From Bernd Becker: don't clear COL_INFO until the GIOP subdissecrors areGuy Harris2001-12-191-3/+8
| | | | | | | | | fixed to put something interesting there, fix the GIOP dissector to restore the Protocol column if no heuristic dissector succeeded, and fix up the plugin GIOP subdissectors to use "col_set_str()" to set the Protocol column. svn path=/trunk/; revision=4424
* Now that the GIOP dissector sets "pinfo->current_proto" before callingGuy Harris2001-12-171-3/+1
| | | | | | subdissectors, the subdissectors don't have to set it themselves. svn path=/trunk/; revision=4417
* From Frank Singleton: change ethereal_gen.py to match the currentGuy Harris2001-12-171-3/+6
| | | | | | | | | calling sequence for "check_col()" and "col_add_str()". While we're at it, change it to use "col_set_str()" rather than "col_add_str()", and to clear the Info column as well. svn path=/trunk/; revision=4415
* From Frank Singleton:Guy Harris2001-11-191-3/+4
| | | | | | | | | - accept struct and union lists passed in via ethereal_be.py - these lists are unused until I add the templates for struct and union helper functions. So code generation is unchanged for the moment. svn path=/trunk/; revision=4227
* Sigh. Well, if you make the function declarations external, that meansGuy Harris2001-10-311-1/+3
| | | | | | | | | | that they're external when the plugin is compiled, and there's no definition to satisfy the extern, so plugins fail to compile. Add a "plugins/plugin_api_defs.h" header file that defines them, and include that in one (and only one) source file for a particular plugin. svn path=/trunk/; revision=4117
* Update from Frank Singleton:Guy Harris2001-10-251-8/+23
| | | | | | | | | - Handle "short" as a union discriminant type - Handle case where union discriminant may be a typedef - Change integer template to long template - Initial code for \n and \t as union case labels. svn path=/trunk/; revision=4076
* From Frank Singleton: catch attempts to use recursive unions orGuy Harris2001-10-181-2/+10
| | | | | | structures. svn path=/trunk/; revision=4040
* From Frank Singleton:Guy Harris2001-10-121-14/+103
| | | | | | | | Added some functionality to idl2eth to allow C code generation and display of CORBA IDL Enum's as symbolic values, along side the numerical value currently being displayed. svn path=/trunk/; revision=4020
* Update from Frank Singleton toGuy Harris2001-08-111-9/+222
| | | | | | | | - Add support for CORBA IDL "unions" - Update TODO - Improve "Operation Return Value" in genOperationReply() svn path=/trunk/; revision=3833
* Update from Frank Singleton:Guy Harris2001-08-031-3/+6
| | | | | | | | | Improve Template and Description for Attribute delegation code _get_xxx_at() should only be called for Reply with NO_EXCEPTION _set_xxx_at() should only be called for Request svn path=/trunk/; revision=3813
* Updates from Frank Singleton:Guy Harris2001-07-271-14/+303
| | | | | | | | | | | - Add support for CORBA attributes - Add support for included files, not just main file - Fix sequence variable name generation. - Add support functions for code warnings etc. i.e.: TODO and WARNING functions, to highlight if we don't [yet] support a particular CORBA type. svn path=/trunk/; revision=3795
* Update from Frank Singleton to put the right file name in theGuy Harris2001-07-201-3/+2
| | | | | | introductory comment. svn path=/trunk/; revision=3755
* Do not put zero-length arrays into the generated dissector; GCC may letGuy Harris2001-07-201-1/+5
| | | | | | | you get away with them, but other compilers, e.g. Microsoft Visual C++, don't. svn path=/trunk/; revision=3752
* Changes to generate plugins instead of standard dissectors.Olivier Abad2001-07-161-2/+40
| | | | svn path=/trunk/; revision=3732
* Patch to allow the creation of "User Exception decoding" code fromOlivier Abad2001-07-121-29/+301
| | | | | | Frank Singleton. svn path=/trunk/; revision=3700
* From Frank Singleton: when GIOP sub-dissectors register themselves, haveGuy Harris2001-06-291-7/+9
| | | | | | | | them supply a protocol ID, and have the code that calls the subdissectors check if the protocol is enabled and, if it isn't, not call the sub-dissector. svn path=/trunk/; revision=3623
* Improved support for CORBA IDL "fixed" types, and other updates, fromGuy Harris2001-06-271-37/+66
| | | | | | Frank Singleton. svn path=/trunk/; revision=3616
* From Frank Singleton: add code generation support for IDL array types.Guy Harris2001-06-181-104/+195
| | | | svn path=/trunk/; revision=3570
* Support for protocols running atop GIOP, from Frank Singleton.Guy Harris2001-06-181-0/+1521
svn path=/trunk/; revision=3563