aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/mplog.h
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2016-02-09 16:16:15 +0100
committerMartin Kaiser <wireshark@kaiser.cx>2016-04-18 09:39:42 +0000
commitfb39f102b9224442e71a7659db406b5648cfc253 (patch)
treeab7226c99db78251746b53a6c7105d4a4900141a /wiretap/mplog.h
parent54019ca207e337ba03dc01186d469bd60353675b (diff)
wiretap: add support for the mplog capture file format
the mplog format is used by some commercial logging tools that capture ISO 14443 traffic between a card reader and a contactless smartcard Change-Id: If359b8f0f671eb2a7c6315e2b8960a5bd581a9e9 Reviewed-on: https://code.wireshark.org/review/14950 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'wiretap/mplog.h')
-rw-r--r--wiretap/mplog.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/wiretap/mplog.h b/wiretap/mplog.h
new file mode 100644
index 0000000000..77561ffbb6
--- /dev/null
+++ b/wiretap/mplog.h
@@ -0,0 +1,33 @@
+/* mplog.h
+ *
+ * File format support for Micropross mplog files
+ * Copyright (c) 2016 by Martin Kaiser <martin@kaiser.cx>
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef _MPLOG_H
+#define _MPLOG_H
+
+#include <glib.h>
+#include <wiretap/wtap.h>
+
+wtap_open_return_val mplog_open(wtap *wth, int *err, gchar **err_info);
+
+#endif /* _MPLOG_H */