diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-15 21:06:58 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-15 21:06:58 +0000 |
commit | ddfa11e870be7bbe45147c2e7807da7ee13d6ee8 (patch) | |
tree | 1ed7404ba1544d1204efc77468af4f151c6fc67d /capture.c | |
parent | a9e588ea5797b3f1bb8fb330283d90c51600a56a (diff) | |
download | wireshark-ddfa11e870be7bbe45147c2e7807da7ee13d6ee8.tar.gz wireshark-ddfa11e870be7bbe45147c2e7807da7ee13d6ee8.tar.bz2 wireshark-ddfa11e870be7bbe45147c2e7807da7ee13d6ee8.zip |
Create a header file for every packet-*.c file. Prune the packet.h file.
This change allows you to add a new packet-*.c file and not cause a
recompilation of everything that #include's packet.h
Add the plugin_api.[ch] files ot the plugins/Makefile.am packaging list.
Add #define YY_NO_UNPUT 1 to the lex source so that the yyunput symbol
is not defined, squelching a compiler complaint when compiling the generated
C file.
svn path=/trunk/; revision=1637
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.95 2000/02/09 19:17:50 gram Exp $ + * $Id: capture.c,v 1.96 2000/02/15 21:01:53 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -96,6 +96,13 @@ #include "prefs.h" #include "globals.h" +#include "packet-eth.h" +#include "packet-fddi.h" +#include "packet-null.h" +#include "packet-ppp.h" +#include "packet-raw.h" +#include "packet-tr.h" + int sync_mode; /* fork a child to do the capture, and sync between them */ static int sync_pipe[2]; /* used to sync father */ int quit_after_cap; /* Makes a "capture only mode". Implies -k */ |