diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-03-25 23:55:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-03-25 23:55:21 +0000 |
commit | 044f075c66d6a71aa3e82439d41a6c76c59009d7 (patch) | |
tree | 2dc7835341ebe2c0e55a02ff3c2dbc5459accaa6 /plugins | |
parent | 95c026b2700f6fb13f8491a00ed938b686505403 (diff) |
From Tomas Kukosa: add APIs to get the parent of a protocol tree item
and the item N levels up from a protocol tree item.
svn path=/trunk/; revision=10486
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/plugin_api_list.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c index 4a9b96e471..5ba305759d 100644 --- a/plugins/plugin_api_list.c +++ b/plugins/plugin_api_list.c @@ -1,7 +1,7 @@ /* plugin_api_list.c * Used to generate various included files for plugin API * - * $Id: plugin_api_list.c,v 1.32 2004/03/25 09:17:11 guy Exp $ + * $Id: plugin_api_list.c,v 1.33 2004/03/25 23:55:21 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -431,3 +431,6 @@ int get_ber_identifier(tvbuff_t *tvb, int offset, guint8 *class, gboolean *pc, g int get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind); proto_tree* proto_item_get_subtree(proto_item *ti); proto_item* proto_tree_get_parent(proto_tree *tree); +proto_item* proto_item_get_parent(proto_item *ti); +proto_item* proto_item_get_parent_nth(proto_item *ti, int gen); +proto_item *get_ber_last_created_item(void); |