aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rpc.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-01-22 05:49:08 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-01-22 05:49:08 +0000
commitedf4f334e8cc124bb7d1d12c2af15f51b5a7632c (patch)
tree69d34b82d53e62c60326b0d34a7d629b29f4db0b /packet-rpc.h
parentc65323938157e26f7d1163af133cb424dab7ff3a (diff)
Give "dissect_rpc_string()" an extra "char **" argument; if it's
non-null, it returns through that argument a pointer to the displayed version of the string, otherwise it just frees that string. Use that to put, in the tree item for READDIR and READDIRPLUS reply directory entry items, the file name from the directory entry. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1521 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rpc.h')
-rw-r--r--packet-rpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rpc.h b/packet-rpc.h
index 2b7d1edc3b..3b23a9c348 100644
--- a/packet-rpc.h
+++ b/packet-rpc.h
@@ -1,5 +1,5 @@
/* packet-rpc.h (c) 1999 Uwe Girlich */
-/* $Id: packet-rpc.h,v 1.11 1999/12/14 11:40:27 girlich Exp $ */
+/* $Id: packet-rpc.h,v 1.12 2000/01/22 05:49:08 guy Exp $ */
#ifndef __PACKET_RPC_H__
#define __PACKET_RPC_H__
@@ -100,7 +100,7 @@ extern unsigned int rpc_roundup(unsigned int a);
extern int dissect_rpc_bool(const u_char *pd, int offset, frame_data *fd,
proto_tree *tree, int hfindex);
extern int dissect_rpc_string(const u_char *pd, int offset, frame_data *fd,
- proto_tree *tree, int hfindex);
+ proto_tree *tree, int hfindex, char **string_buffer_ret);
extern int dissect_rpc_data(const u_char *pd, int offset, frame_data *fd,
proto_tree *tree, int hfindex);
extern int dissect_rpc_uint32(const u_char *pd, int offset, frame_data *fd,