summaryrefslogtreecommitdiff
path: root/wiretap/pcapng.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2008-01-13 20:05:07 +0000
committerUlf Lamping <ulf.lamping@web.de>2008-01-13 20:05:07 +0000
commit4f565d1a4dcfe67006ee3799507f0340e0898734 (patch)
tree93106f1d8fb1fb931e8cc0c0955219cf74a4ca42 /wiretap/pcapng.h
parentaa81806094322d426f6ff1ec1d5b5a8b33552195 (diff)
downloadwireshark-4f565d1a4dcfe67006ee3799507f0340e0898734.tar.gz
add very experimental support for pcapng "PCAP Next Generation Dump File Format" - this is incomplete and buggy, be careful!
svn path=/trunk/; revision=24079
Diffstat (limited to 'wiretap/pcapng.h')
-rw-r--r--wiretap/pcapng.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/wiretap/pcapng.h b/wiretap/pcapng.h
new file mode 100644
index 0000000000..5819db0781
--- /dev/null
+++ b/wiretap/pcapng.h
@@ -0,0 +1,30 @@
+/* pcapng.h
+ *
+ * $Id: pcapng.h 22591 2007-08-22 19:38:49Z morriss $
+ *
+ * Wiretap Library
+ * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.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.
+ */
+
+#ifndef __W_PCAPNG_H__
+#define __W_PCAPNG_H__
+
+int pcapng_open(wtap *wth, int *err, gchar **err_info);
+gboolean pcapng_dump_open(wtap_dumper *wdh, gboolean cant_seek, int *err);
+int pcapng_dump_can_write_encap(int encap);
+
+#endif