summaryrefslogtreecommitdiff
path: root/gtk/proto_draw.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-20 10:37:16 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-20 10:37:16 +0000
commit1c3f2e4cd550a4bf76185c5c074e5864abf57f11 (patch)
tree994860e8b8eecf1545e6eb294514cdc65538d4ff /gtk/proto_draw.h
parent800030b8a0755c88b1bef45e447dba2be22bb584 (diff)
downloadwireshark-1c3f2e4cd550a4bf76185c5c074e5864abf57f11.tar.gz
Have a routine to add all the hex dump tabs to the hex dump notebook,
and call it both from "select_packet()" and "create_new_window()", rather than having two similar loops in both places. svn path=/trunk/; revision=4233
Diffstat (limited to 'gtk/proto_draw.h')
-rw-r--r--gtk/proto_draw.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/proto_draw.h b/gtk/proto_draw.h
index ddb54f06e0..84764b9ba7 100644
--- a/gtk/proto_draw.h
+++ b/gtk/proto_draw.h
@@ -1,7 +1,7 @@
/* proto_draw.h
* Definitions for GTK+ packet display structures and routines
*
- * $Id: proto_draw.h,v 1.13 2001/11/20 10:10:45 guy Exp $
+ * $Id: proto_draw.h,v 1.14 2001/11/20 10:37:16 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -35,9 +35,8 @@
#define E_BYTE_VIEW_ENCODE_KEY "byte_view_encode"
#define E_BYTE_VIEW_NAME_KEY "byte_view_name"
-GtkWidget *add_byte_tab(GtkWidget *byte_nb, const char *name,
- const guint8 *data, int len, proto_tree *tree, GtkWidget *tree_view);
-int add_byte_view( const char *name, const guint8 *data, int len);
+void add_byte_views(frame_data *frame, proto_tree *tree, GtkWidget *tree_view,
+ GtkWidget *byte_nb_ptr);
void set_notebook_page( GtkWidget *nb_ptr, int num);
int find_notebook_page( GtkWidget *nb_ptr, gchar *label);