aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/file-file.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-01-06 00:44:41 +0000
committerMichael Mann <mmann78@netscape.net>2014-01-06 00:44:41 +0000
commitdf3d47aebc883957dfb5f44b028e8ebb694c58df (patch)
tree64974a3c45bfd7603b99db67d23c383cd518270d /epan/dissectors/file-file.h
parentbcacd60c1ce82e08c48938bb9d88f35ecb1ad3c6 (diff)
Base dissector for fileshark functionality. Intended as the equivalent of packet-frame for capture files. This is meant as a placeholder for now, so don't take any of the fields/data as being written in stone.
svn path=/trunk/; revision=54613
Diffstat (limited to 'epan/dissectors/file-file.h')
-rw-r--r--epan/dissectors/file-file.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/epan/dissectors/file-file.h b/epan/dissectors/file-file.h
new file mode 100644
index 0000000000..91f2805c8b
--- /dev/null
+++ b/epan/dissectors/file-file.h
@@ -0,0 +1,34 @@
+/* file-file.h
+ *
+ * Top-most file dissector. Decides dissector based on Filetap Encapsulation Type.
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 2000 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.
+ */
+
+#include "ws_symbol_export.h"
+
+/*
+ * Routine used to register file record end routine. The routine should only
+ * be registred when the dissector is used in the file record, not in the
+ * proto_register_XXX function.
+ */
+void
+register_file_record_end_routine(packet_info *pinfo, void (*func)(void));