aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ngsniffer.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1998-11-12 06:01:27 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1998-11-12 06:01:27 +0000
commitc0f191e9e0c2d49564e42a23cfcd6a391569892c (patch)
treeb5635327a52f09fe041a808311d39e8bde8b3def /wiretap/ngsniffer.h
parentfcb4c78a6a01d22f0db9d6de870342511030cb01 (diff)
I added the LANalzyer file format to wiretap. I cleaned up some code in the
wiretap functions to be more generic and therefore allow an easier integration of more packet-capture file types. I also put in all the GPL copyrights in the wiretap code. svn path=/trunk/; revision=83
Diffstat (limited to 'wiretap/ngsniffer.h')
-rw-r--r--wiretap/ngsniffer.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/wiretap/ngsniffer.h b/wiretap/ngsniffer.h
index b3e3d065ff..f6c7668404 100644
--- a/wiretap/ngsniffer.h
+++ b/wiretap/ngsniffer.h
@@ -1,3 +1,25 @@
+/* ngsniffer.h
+ *
+ * $Id: ngsniffer.h,v 1.2 1998/11/12 06:01:25 gram Exp $
+ *
+ * Wiretap Library
+ * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
+ *
+ * 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.
+ *
+ */
struct ngsniffer_hdr {
guint32 junk1;
guint32 junk2;
@@ -8,4 +30,5 @@ struct ngsniffer_hdr {
};
+int ngsniffer_open(wtap *wth);
int ngsniffer_read(wtap *wth);