aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-03-26 00:01:32 +0000
committerGuy Harris <guy@alum.mit.edu>2004-03-26 00:01:32 +0000
commitd9376294493a4d3dbf32a1510f107ce289d0b97f (patch)
treeb407f1d88e9681f866f2dec7a9693ba8cc049c43 /plugins
parent05976bdc31cd992065ec4ad6d5d5d1d1a88ef8c1 (diff)
Update for Tomas Kukosa's new APIs to get the parent and the
nth-grandparent-up for a protocol tree item and to get the last item created by the BER dissector (that API and the new names for the universal tags were supplied by him - the checkin item didn't give him credit). svn path=/trunk/; revision=10491
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Xass-list3
-rw-r--r--plugins/Xplugin_api.c3
-rw-r--r--plugins/Xplugin_api.h3
-rw-r--r--plugins/Xplugin_api_decls.h3
-rw-r--r--plugins/Xplugin_table.h3
5 files changed, 14 insertions, 1 deletions
diff --git a/plugins/Xass-list b/plugins/Xass-list
index 013dd8ead6..2ce7c2135b 100644
--- a/plugins/Xass-list
+++ b/plugins/Xass-list
@@ -79,4 +79,5 @@ dissect_ber_boolean, dissect_ber_choice, dissect_ber_generalized_time,
dissect_ber_sequence, dissect_ber_sequence_of, dissect_ber_set_of,
dissect_ber_octet_string, dissect_ber_bitstring, dissect_ber_restricted_string,
dissect_ber_object_identifier, get_ber_identifier, get_ber_length,
-proto_item_get_subtree, proto_tree_get_parent,
+proto_item_get_subtree, proto_tree_get_parent, proto_item_get_parent,
+proto_item_get_parent_nth, get_ber_last_created_item,
diff --git a/plugins/Xplugin_api.c b/plugins/Xplugin_api.c
index 1d1ad88ab5..b34b3aa2ca 100644
--- a/plugins/Xplugin_api.c
+++ b/plugins/Xplugin_api.c
@@ -270,3 +270,6 @@ p_get_ber_identifier = pat->p_get_ber_identifier;
p_get_ber_length = pat->p_get_ber_length;
p_proto_item_get_subtree = pat->p_proto_item_get_subtree;
p_proto_tree_get_parent = pat->p_proto_tree_get_parent;
+p_proto_item_get_parent = pat->p_proto_item_get_parent;
+p_proto_item_get_parent_nth = pat->p_proto_item_get_parent_nth;
+p_get_ber_last_created_item = pat->p_get_ber_last_created_item;
diff --git a/plugins/Xplugin_api.h b/plugins/Xplugin_api.h
index 999e4fd483..1cb990247a 100644
--- a/plugins/Xplugin_api.h
+++ b/plugins/Xplugin_api.h
@@ -270,3 +270,6 @@
#define get_ber_length (*p_get_ber_length)
#define proto_item_get_subtree (*p_proto_item_get_subtree)
#define proto_tree_get_parent (*p_proto_tree_get_parent)
+#define proto_item_get_parent (*p_proto_item_get_parent)
+#define proto_item_get_parent_nth (*p_proto_item_get_parent_nth)
+#define get_ber_last_created_item (*p_get_ber_last_created_item)
diff --git a/plugins/Xplugin_api_decls.h b/plugins/Xplugin_api_decls.h
index c2e0b84499..7473bfc15c 100644
--- a/plugins/Xplugin_api_decls.h
+++ b/plugins/Xplugin_api_decls.h
@@ -270,3 +270,6 @@ addr_get_ber_identifier p_get_ber_identifier;
addr_get_ber_length p_get_ber_length;
addr_proto_item_get_subtree p_proto_item_get_subtree;
addr_proto_tree_get_parent p_proto_tree_get_parent;
+addr_proto_item_get_parent p_proto_item_get_parent;
+addr_proto_item_get_parent_nth p_proto_item_get_parent_nth;
+addr_get_ber_last_created_item p_get_ber_last_created_item;
diff --git a/plugins/Xplugin_table.h b/plugins/Xplugin_table.h
index 3c3eadc169..9c5d45f858 100644
--- a/plugins/Xplugin_table.h
+++ b/plugins/Xplugin_table.h
@@ -270,3 +270,6 @@ typedef int (*addr_get_ber_identifier) (tvbuff_t *, int, guint8 *, gboolean *, g
typedef int (*addr_get_ber_length) (tvbuff_t *, int, guint32 *, gboolean *);
typedef proto_tree *(*addr_proto_item_get_subtree) (proto_item *);
typedef proto_item *(*addr_proto_tree_get_parent) (proto_tree *);
+typedef proto_item *(*addr_proto_item_get_parent) (proto_item *);
+typedef proto_item *(*addr_proto_item_get_parent_nth) (proto_item *, int);
+typedef proto_item *(*addr_get_ber_last_created_item) (void);