aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/plugin_table.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-08-29 00:51:10 +0000
committerGuy Harris <guy@alum.mit.edu>2001-08-29 00:51:10 +0000
commitfbe8da33f5813f07f94594c0e285c843c28d3618 (patch)
treec2d7f081d77aba8081c231a31755adf32170df26 /plugins/plugin_table.h
parentaa4cd01b9bcd64fc3785668692f2be0f19f69bb8 (diff)
downloadwireshark-fbe8da33f5813f07f94594c0e285c843c28d3618.tar.gz
wireshark-fbe8da33f5813f07f94594c0e285c843c28d3618.tar.bz2
wireshark-fbe8da33f5813f07f94594c0e285c843c28d3618.zip
Add a "proto_item_append_text()" routine, which is like
"proto_item_set_text()" except that it appends the result of the formatting to the item's current text, rather than replacing the item's current text. Use it in the DNS dissector. svn path=/trunk/; revision=3880
Diffstat (limited to 'plugins/plugin_table.h')
-rw-r--r--plugins/plugin_table.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h
index 6de96735bc..9053e531e4 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.22 2001/08/28 08:28:19 guy Exp $
+ * $Id: plugin_table.h,v 1.23 2001/08/29 00:51:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@xiexie.org>
@@ -57,6 +57,7 @@ typedef gboolean (*addr_proto_is_protocol_enabled)(int);
typedef int (*addr_proto_item_get_len)(proto_item*);
typedef void (*addr_proto_item_set_len)(proto_item*, gint);
typedef void (*addr_proto_item_set_text)(proto_item*, const char*, ...);
+typedef void (*addr_proto_item_append_text)(proto_item*, const char*, ...);
typedef proto_tree* (*addr_proto_item_add_subtree)(proto_item*, gint);
typedef proto_item* (*addr_proto_tree_add_item)(proto_tree*, int, tvbuff_t*, gint, gint, gboolean);
typedef proto_item* (*addr_proto_tree_add_item_hidden)(proto_tree*, int, tvbuff_t*, gint, gint, gboolean);
@@ -207,6 +208,7 @@ typedef struct {
addr_proto_item_get_len p_proto_item_get_len;
addr_proto_item_set_len p_proto_item_set_len;
addr_proto_item_set_text p_proto_item_set_text;
+ addr_proto_item_append_text p_proto_item_append_text;
addr_proto_item_add_subtree p_proto_item_add_subtree;
addr_proto_tree_add_item p_proto_tree_add_item;
addr_proto_tree_add_item_hidden p_proto_tree_add_item_hidden;