aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ppp.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-02-15 21:06:58 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-02-15 21:06:58 +0000
commitddfa11e870be7bbe45147c2e7807da7ee13d6ee8 (patch)
tree1ed7404ba1544d1204efc77468af4f151c6fc67d /packet-ppp.h
parenta9e588ea5797b3f1bb8fb330283d90c51600a56a (diff)
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 'packet-ppp.h')
-rw-r--r--packet-ppp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/packet-ppp.h b/packet-ppp.h
new file mode 100644
index 0000000000..08df2bd54b
--- /dev/null
+++ b/packet-ppp.h
@@ -0,0 +1,27 @@
+/* packet-ppp.h
+ *
+ * $Id: packet-ppp.h,v 1.1 2000/02/15 21:02:53 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * Copyright 1998 Gerald Combs
+ *
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+void capture_ppp(const u_char *, packet_counts *);
+void dissect_ppp(const u_char *, frame_data *, proto_tree *);
+void dissect_payload_ppp(const u_char *, int, frame_data *, proto_tree *);