aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-10 02:30:22 +0000
committerTim Potter <tpot@samba.org>2002-05-10 02:30:22 +0000
commit8b5ff6898b2669df1317e19a09662fddfd53467a (patch)
treede4a66d9e6759f5d175d22b67b2a446b7c2719b8 /packet-dcerpc.h
parent41cc7f0707c5c62ae5651fcd70a9e9b12a4ce387 (diff)
Added a private data member to the dcerpc_info structure. This second
level of private data turns out to be needed to pass something other than an int to dcerpc_dissect_fnct_t functions passed to dissect_ndr_pointer. A nicer way of doing this would be to convert the levels parameter to a void *state type of variable but this turns out to be a lot more work as opposed to a one line change here. (-: svn path=/trunk/; revision=5434
Diffstat (limited to 'packet-dcerpc.h')
-rw-r--r--packet-dcerpc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-dcerpc.h b/packet-dcerpc.h
index eae6994cda..e073639dbf 100644
--- a/packet-dcerpc.h
+++ b/packet-dcerpc.h
@@ -1,7 +1,7 @@
/* packet-dcerpc.h
* Copyright 2001, Todd Sabin <tas@webspan.net>
*
- * $Id: packet-dcerpc.h,v 1.14 2002/05/07 10:07:55 sahlberg Exp $
+ * $Id: packet-dcerpc.h,v 1.15 2002/05/10 02:30:22 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -209,6 +209,7 @@ typedef struct _dcerpc_info {
int hf_index;
int levels; /* number of levels upwards in the tree to append text*/
dcerpc_call_value *call_data;
+ void *private_data;
} dcerpc_info;
#endif /* packet-dcerpc.h */