aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/new_packet_list.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-07-29 20:58:47 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-07-29 20:58:47 +0000
commit26d1dfcf4caa702a38737a0768375cb0b1e89ace (patch)
tree764a389b80d8f01ad8fe4d63c0871d81b31a71c3 /gtk/new_packet_list.c
parentad74edb13954ddf3c52edd36b416e4f86646108c (diff)
Add pinfo to new_packet_list_append() this should give us the abillity
to store (most) of the underlying data rather than the strings in the store and render it when we need it, thuss saving storage space and loading time. Idealy we should not store the complete fdata or pinfo structures but rather just the data relevant to the currently selected/used columns. I'm not entierly sure how to accomplish that however. Dynamically allocated array to hold pointers to the actual data? svn path=/trunk/; revision=29237
Diffstat (limited to 'gtk/new_packet_list.c')
-rw-r--r--gtk/new_packet_list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c
index bdad8d0495..2ebcb648b3 100644
--- a/gtk/new_packet_list.c
+++ b/gtk/new_packet_list.c
@@ -41,6 +41,7 @@
#include "packet_list_store.h"
#include "epan/column_info.h"
#include "epan/prefs.h"
+#include <epan/packet.h>
#include "../ui_util.h"
#include "epan/emem.h"
#include "globals.h"
@@ -98,7 +99,7 @@ new_packet_list_create(void)
}
guint
-new_packet_list_append(column_info *cinfo, frame_data *fdata)
+new_packet_list_append(column_info *cinfo, frame_data *fdata, packet_info *pinfo _U_)
{
gint i;
row_data_t row_data;