aboutsummaryrefslogtreecommitdiffstats
path: root/make-reg-dotc
Commit message (Collapse)AuthorAgeFilesLines
* "make-reg-dotc" was writing the "#include "register.h"" line toGuy Harris2001-07-111-1/+1
| | | | | | "register.c-tmp", not "${outfile}-tmp"; fix that. svn path=/trunk/; revision=3688
* Fixed the {tethereal,ethereal}_static targets so that theEd Warnicke2001-07-081-13/+20
| | | | | | static binaries have the dissectors provided in the plugins available. svn path=/trunk/; revision=3665
* When looking for definitions of "proto_register" and "proto_reg_handoff"Guy Harris2000-10-221-4/+4
| | | | | | | routines, throw out lines containing semicolons, so that we don't see *declarations* of those routines. svn path=/trunk/; revision=2530
* "test -e" is documented in the Solaris 2.6 man page, but doesn't seem toGuy Harris2000-08-101-4/+4
| | | | | | | | work, and it's not even documented in the Solaris 2.5.1 man page; don't use "-e" to test for the existence of a file, use "-f", which is documented in the 2.5.1 man page and works. svn path=/trunk/; revision=2247
* - make-reg-dotLaurent Deniel2000-08-091-4/+28
| | | | | | | | | | | | | | | | Do not assume that all dissectors are in the source directory. This is the case for instance for packet-ncp2222.c which is generated in the production directory (current). This is particularly important when the generation is not made in the source directory. - ncp2222.py Remove tabs in generated source to make the generated code nicer and to make work the make-reg-dotc. Without that fix, all NCP packet dissections dump core ... svn path=/trunk/; revision=2241
* Make "make-reg-dotc" generate a "register_all_protocol_handoffs()"Guy Harris2000-04-041-0/+18
| | | | | | | | | | | | | | | | | | routine, which calls all routines found in the dissector source files with names that match " proto_reg_handoff_[a-z_0-9A-Z]*". Call "register_all_protocol_handoffs()" after calling "register_all_protocols()" - "register_all_protocols()" needs to be called first, so that all protocols can register their fields, because registering a dissector as being called if field "proto.port" is equal to N requires that "proto.port" be a registered field. Give DNS a handoff registration routine, and register its dissector to be called if "udp.port" is UDP_PORT_DNS; remove the registration of DNS from "packet-udp.c", and make "dissect_dns()" static (as nobody else need know that it exists). svn path=/trunk/; revision=1788
* For some unknown reason, having a big "for" loop in the Makefile to scanGuy Harris1999-10-271-0/+26
all the "packet-XXX.c" files doesn't work with some "make"s; they seem to pass only the first few names in the list to the shell, for some reason. Therefore, we use a script to generate the "register.c" file, and run that script from the Makefile. svn path=/trunk/; revision=930