aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/mime_file.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2011-06-09 21:21:06 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2011-06-09 21:21:06 +0000
commita723874490714c808d2fbf1db41e356b1627a323 (patch)
tree3886fa54ec10a3ab04e868df614606ff0c28c2f6 /wiretap/mime_file.h
parenta47485acd9e2f57255a169bb4608d6e617a44d0a (diff)
- Replace jpeg_jfif decoder, with more generic mime_file (no more 64KB limit!).
- Add new dissector packet-mime-encap which understands mime_file fragmentation. svn path=/trunk/; revision=37636
Diffstat (limited to 'wiretap/mime_file.h')
-rw-r--r--wiretap/mime_file.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/wiretap/mime_file.h b/wiretap/mime_file.h
new file mode 100644
index 0000000000..77a5a973ca
--- /dev/null
+++ b/wiretap/mime_file.h
@@ -0,0 +1,31 @@
+/* mime_file.h
+ *
+ * MIME file format decoder for the Wiretap library.
+ *
+ * $Id$
+ *
+ * Wiretap Library
+ * 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_JPEG_JFIF_H__
+#define __W_JPEG_JFIF_H__
+
+#include <glib.h>
+#include <wtap.h>
+
+int mime_file_open(wtap *wth, int *err, gchar **err_info);
+
+#endif