aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-giop.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-07-08 03:57:35 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-07-08 03:57:35 +0000
commit0cb874b9ec43a57cfa2b2fc3063c330e5e7b67f4 (patch)
tree4277bfc43f5cf34be2abf1f88dc207937034ff5f /epan/dissectors/packet-giop.h
parenta2c47166702e5b514d8a4b5a5491db19f6bb689a (diff)
Add a function to packet-giop.c that does what the code that
template_get_CDR_string (in wireshark_gen.py) did. This eliminates another whole pile of function-local variables in packet-parlay.c. Unfortunately it doesn't seem to speed up compilation (or eliminate the variable tracking size limit problem). But it does eliminate a lot of lines of code... svn path=/trunk/; revision=43610
Diffstat (limited to 'epan/dissectors/packet-giop.h')
-rw-r--r--epan/dissectors/packet-giop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-giop.h b/epan/dissectors/packet-giop.h
index 8c6fe793e3..a22b7cf72a 100644
--- a/epan/dissectors/packet-giop.h
+++ b/epan/dissectors/packet-giop.h
@@ -377,6 +377,10 @@ extern gint16 get_CDR_short(tvbuff_t *tvb, int *offset,
gboolean stream_is_big_endian, int boundary);
+extern void giop_add_CDR_string(proto_tree *tree, tvbuff_t *tvb, int *offset,
+ gboolean stream_is_big_endian, int boundary,
+ const char *varname);
+
/* Copy an octet sequence from the tvbuff
* which represents a string, and convert
* it to an string value, taking into account byte order.