summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-12-10 01:48:27 +0000
committerGuy Harris <guy@alum.mit.edu>2001-12-10 01:48:27 +0000
commitfcfa433ff01caf367021ff9512f9d716bd83a35a (patch)
tree618bd9bd8be223035a5cb0d885fe821afa0fa1fe /plugins
parent23319ff023bcb144347a1307b958359b5226c699 (diff)
downloadwireshark-fcfa433ff01caf367021ff9512f9d716bd83a35a.tar.gz
Move the pointer to the "column_info" structure in the "frame_data"
structure to the "packet_info" structure; only stuff that's permanently stored with each frame should be in the "frame_data" structure, and the "column_info" structure is not guaranteed to hold the column values for that frame at all times - it was only in the "frame_data" structure so that it could be passed to dissectors, and, as all dissectors are now passed a pointer to a "packet_info" structure, it could just as well be put in the "packet_info" structure. That saves memory, by shrinking the "frame_data" structure (there's one of those per frame), and also lets us clean up the code a bit. svn path=/trunk/; revision=4371
Diffstat (limited to 'plugins')
-rw-r--r--plugins/plugin_table.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h
index ab4a4916fe..fe173345a3 100644
--- a/plugins/plugin_table.h
+++ b/plugins/plugin_table.h
@@ -1,7 +1,7 @@
/* plugin_table.h
* Table of exported addresses for Ethereal plugins.
*
- * $Id: plugin_table.h,v 1.34 2001/12/03 10:00:23 guy Exp $
+ * $Id: plugin_table.h,v 1.35 2001/12/10 01:48:27 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -28,13 +28,13 @@
to those functions for the DLL plugin to use. */
/* Typedefs to make our plugin_address_table_t struct look prettier */
-typedef gint (*addr_check_col)(frame_data*, gint);
-typedef void (*addr_col_clear)(frame_data*, gint);
-typedef void (*addr_col_add_fstr)(frame_data*, gint, gchar*, ...);
-typedef void (*addr_col_append_fstr)(frame_data*, gint, gchar*, ...);
-typedef void (*addr_col_add_str)(frame_data*, gint, const gchar*);
-typedef void (*addr_col_append_str)(frame_data*, gint, gchar*);
-typedef void (*addr_col_set_str)(frame_data*, gint, gchar*);
+typedef gint (*addr_check_col)(column_info*, gint);
+typedef void (*addr_col_clear)(column_info*, gint);
+typedef void (*addr_col_add_fstr)(column_info*, gint, gchar*, ...);
+typedef void (*addr_col_append_fstr)(column_info*, gint, gchar*, ...);
+typedef void (*addr_col_add_str)(column_info*, gint, const gchar*);
+typedef void (*addr_col_append_str)(column_info*, gint, gchar*);
+typedef void (*addr_col_set_str)(column_info*, gint, gchar*);
typedef void (*addr_register_init_routine)(void (*func)(void));
typedef conversation_t *(*addr_conversation_new)(address *, address *,