diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-10-20 06:28:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-10-20 06:28:29 +0000 |
commit | 3164c1e36316c8fcf68edf12887b05311e6164bc (patch) | |
tree | 3787d8534448e72e62ad9f7be8a78e2e6aae63cd /packet-netbios.h | |
parent | 984d9b89887df07100d8d9a1f905410621e37e32 (diff) |
Automatically generate a function to call the register routines for all
protocols (idea shamelessly stolen from GDB). We require that the
register routines
1) be located in "packet.c" or in one of the "packet-XXX.c"
files;
2) have a name of the form "proto_register_XXX";
3) take no argument, and return no value;
4) have their names appear in the source file either at the
beginning of the line, or preceded only by "void " at the
beginning of the line;
and we require that "packet-XXX.c" files be added to "DISSECTOR_SOURCES"
in "Makefile.am".
svn path=/trunk/; revision=891
Diffstat (limited to 'packet-netbios.h')
0 files changed, 0 insertions, 0 deletions