aboutsummaryrefslogtreecommitdiffstats
path: root/make-reg-dotc
AgeCommit message (Collapse)AuthorFilesLines
2001-07-11"make-reg-dotc" was writing the "#include "register.h"" line toGuy Harris1-1/+1
"register.c-tmp", not "${outfile}-tmp"; fix that. svn path=/trunk/; revision=3688
2001-07-08Fixed the {tethereal,ethereal}_static targets so that theEd Warnicke1-13/+20
static binaries have the dissectors provided in the plugins available. svn path=/trunk/; revision=3665
2000-10-22When looking for definitions of "proto_register" and "proto_reg_handoff"Guy Harris1-4/+4
routines, throw out lines containing semicolons, so that we don't see *declarations* of those routines. svn path=/trunk/; revision=2530
2000-08-10"test -e" is documented in the Solaris 2.6 man page, but doesn't seem toGuy Harris1-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
2000-08-09- make-reg-dotLaurent Deniel1-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
2000-04-04Make "make-reg-dotc" generate a "register_all_protocol_handoffs()"Guy Harris1-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
1999-10-27For some unknown reason, having a big "for" loop in the Makefile to scanGuy Harris1-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