aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rpc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-11-13 21:45:59 +0000
committerGuy Harris <guy@alum.mit.edu>2002-11-13 21:45:59 +0000
commit809e8cc5b57b9717d4c64eca4767c1d71da248b9 (patch)
tree82b28686941009703795528d6d9a0b0359e3b5e1 /packet-rpc.h
parent4943cc7e769a16f5780ebb5c279121ae39b9ad41 (diff)
From Brian Ginsbach: add a new "dissect_rpc_bytes()" routine to allow
fixed-length opaque data to be dissected, and add support for SGI's variant of the ONC RPC mount protocol. svn path=/trunk/; revision=6620
Diffstat (limited to 'packet-rpc.h')
-rw-r--r--packet-rpc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-rpc.h b/packet-rpc.h
index 39eb74f9ca..0740e8dfed 100644
--- a/packet-rpc.h
+++ b/packet-rpc.h
@@ -1,6 +1,6 @@
/* packet-rpc.h
*
- * $Id: packet-rpc.h,v 1.39 2002/10/23 21:17:03 guy Exp $
+ * $Id: packet-rpc.h,v 1.40 2002/11/13 21:45:57 guy Exp $
*
* (c) 1999 Uwe Girlich
*
@@ -120,6 +120,9 @@ extern int dissect_rpc_string(tvbuff_t *tvb,
proto_tree *tree, int hfindex, int offset, char **string_buffer_ret);
extern int dissect_rpc_data(tvbuff_t *tvb,
proto_tree *tree, int hfindex, int offset);
+extern int dissect_rpc_bytes(tvbuff_t *tvb,
+ proto_tree *tree, int hfindex, int offset, guint32 length,
+ gboolean string_data, char **string_buffer_ret);
extern int dissect_rpc_list(tvbuff_t *tvb, packet_info *pinfo,
proto_tree *tree, int offset, dissect_function_t *rpc_list_dissector);
extern int dissect_rpc_array(tvbuff_t *tvb, packet_info *pinfo,