diff options
author | Michael Mann <mmann78@netscape.net> | 2013-06-28 12:43:29 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-06-28 12:43:29 +0000 |
commit | 9009944d517462a907f8e650988425a45b4babd9 (patch) | |
tree | 54af917ad67f985f413019de614520b55649ed8f /epan/asn1.h | |
parent | c29fb44886e56322cf4e3663993b803404026e21 (diff) |
Remove all global variables in P1 dissector. Bug 8515 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8515)
Added a "subtree context" structure to asn1_ctx_t. This should allow other ASN.1 dissector global variables to be replaced when only used for transferring data between fields in a subtree.
svn path=/trunk/; revision=50208
Diffstat (limited to 'epan/asn1.h')
-rw-r--r-- | epan/asn1.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/asn1.h b/epan/asn1.h index d556ff0f32..b6d46bfbd2 100644 --- a/epan/asn1.h +++ b/epan/asn1.h @@ -111,6 +111,11 @@ typedef struct _asn1_ctx_t { } u; } external; struct { + proto_tree *tree; + proto_tree *top_tree; + void* tree_ctx; + } subtree; + struct { int hf_index; gboolean data_value_descr_present; tvbuff_t *data_value_descriptor; |