diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-09-04 23:11:03 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-09-04 23:11:03 +0000 |
commit | b4f94f13b62f04c5414dd9dffe51868081ffd48a (patch) | |
tree | 20cac148d392ee946a1369f6fc919048d68161c7 /gtk/endpoint_talkers_table.h | |
parent | 7826e4db4a53b066882a67871f17126b97f00923 (diff) |
Update to endpoint talkers. move lots of duplicated code into teh helper endpoint_talkers_table.c
svn path=/trunk/; revision=8377
Diffstat (limited to 'gtk/endpoint_talkers_table.h')
-rw-r--r-- | gtk/endpoint_talkers_table.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gtk/endpoint_talkers_table.h b/gtk/endpoint_talkers_table.h index 7428222256..048e895a62 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.7 2003/09/04 11:07:51 sahlberg Exp $ + * $Id: endpoint_talkers_table.h,v 1.8 2003/09/04 23:11:03 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -23,8 +23,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <gtk/gtk.h> - typedef struct _endpoint_talker_t { address src_address; address dst_address; @@ -51,9 +49,9 @@ typedef struct _endpoints_table { endpoint_talker_t *endpoints; } endpoints_table; -void reset_ett_table_data(endpoints_table *et); -void init_ett_table(endpoints_table *et, GtkWidget *vbox, gboolean hide_ports); + +void init_ett_table(gboolean hide_ports, char *table_name, char *tap_name, char *filter, void *packet_func); #define SAT_NONE 0 @@ -62,6 +60,3 @@ void init_ett_table(endpoints_table *et, GtkWidget *vbox, gboolean hide_ports); #define SAT_TOKENRING 3 void add_ett_table_data(endpoints_table *et, address *src, address *dst, guint32 src_port, guint32 dst_port, int num_frames, int num_bytes, int sat, int port_type); -void draw_ett_table_data(endpoints_table *et); - -void ett_win_destroy_cb(GtkWindow *win _U_, gpointer data); |