diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-08-26 01:46:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-08-26 01:46:23 +0000 |
commit | f91af72c55a8e1b97125de4b1406dc932f577cd6 (patch) | |
tree | bc063ba4366a53926a60519b1b8808cb39de25c2 /gtk/endpoint_talkers_table.h | |
parent | dcf024f7599022134626ae018b1dadc14ae02b3b (diff) |
All endpoint talkers table taps use "address_to_str()" as the routine to
use to translate addresses to strings - wire that into
"endpoint_talkers_table.c", don't pass the function as an argument to
"init_ett_table()".
svn path=/trunk/; revision=8263
Diffstat (limited to 'gtk/endpoint_talkers_table.h')
-rw-r--r-- | gtk/endpoint_talkers_table.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/endpoint_talkers_table.h b/gtk/endpoint_talkers_table.h index 89578e2a37..441bdd481f 100644 --- a/gtk/endpoint_talkers_table.h +++ b/gtk/endpoint_talkers_table.h @@ -2,7 +2,7 @@ * endpoint_talkers_table 2003 Ronnie Sahlberg * Helper routines common to all endpoint talkers taps. * - * $Id: endpoint_talkers_table.h,v 1.1 2003/08/23 09:09:35 sahlberg Exp $ + * $Id: endpoint_talkers_table.h,v 1.2 2003/08/26 01:46:23 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -43,13 +43,12 @@ typedef struct _endpoints_table { gboolean has_ports; guint32 num_endpoints; endpoint_talker_t *endpoints; - char *(*address_to_str)(address *); char *(*port_to_str)(guint32); } endpoints_table; void reset_ett_table_data(endpoints_table *et); -void init_ett_table(endpoints_table *et, GtkWidget *vbox, char *(*address_to_str)(address *),char *(*port_to_str)(guint32)); +void init_ett_table(endpoints_table *et, GtkWidget *vbox, char *(*port_to_str)(guint32)); void add_ett_table_data(endpoints_table *et, address *src, address *dst, guint32 src_port, guint32 dst_port, int num_frames, int num_bytes); |