Added a private data member to the dcerpc_info structure. This second
authortpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 10 May 2002 02:30:22 +0000 (02:30 +0000)
committertpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 10 May 2002 02:30:22 +0000 (02:30 +0000)
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.  (-:

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5434 f5534014-38df-0310-8fa8-9805f1628bb7

packet-dcerpc.h

index eae6994cda1c1c43fb47776adba737fbbe525b15..e073639dbf5297813f424d21ce659d426c2e8f37 100644 (file)
@@ -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 */