aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rpc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-22 05:49:08 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-22 05:49:08 +0000
commit167999e61e4cae6350754f99ecb21f9671b5278b (patch)
tree69d34b82d53e62c60326b0d34a7d629b29f4db0b /packet-rpc.h
parent0b41709f86e069cb8b94a9fadec050eb6a0514dd (diff)
downloadwireshark-167999e61e4cae6350754f99ecb21f9671b5278b.tar.gz
wireshark-167999e61e4cae6350754f99ecb21f9671b5278b.tar.bz2
wireshark-167999e61e4cae6350754f99ecb21f9671b5278b.zip
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. svn path=/trunk/; revision=1521
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,