diff options
author | Uwe Girlich <Uwe.Girlich@philosys.de> | 2000-08-08 06:19:52 +0000 |
---|---|---|
committer | Uwe Girlich <Uwe.Girlich@philosys.de> | 2000-08-08 06:19:52 +0000 |
commit | b485f8e95160d5bde048c583398ec812faac634b (patch) | |
tree | e31a71f4c85f5327a9a8cbe49ab43d6df8b8ba0e /packet-rpc.h | |
parent | b762041ba3973efc59b4829b35c02242465ded10 (diff) | |
download | wireshark-b485f8e95160d5bde048c583398ec812faac634b.tar.gz wireshark-b485f8e95160d5bde048c583398ec812faac634b.tar.bz2 wireshark-b485f8e95160d5bde048c583398ec812faac634b.zip |
Several new RPC dissecting function introduced. Interface to
existing functions changed. So NFS was also necessary to change.
svn path=/trunk/; revision=2225
Diffstat (limited to 'packet-rpc.h')
-rw-r--r-- | packet-rpc.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/packet-rpc.h b/packet-rpc.h index aa29e1cc3c..ce6d429971 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.15 2000/07/17 20:33:52 guy Exp $ */ +/* $Id: packet-rpc.h,v 1.16 2000/08/08 06:19:51 girlich Exp $ */ #ifndef __PACKET_RPC_H__ #define __PACKET_RPC_H__ @@ -110,16 +110,26 @@ extern unsigned int rpc_roundup(unsigned int a); gboolean dissect_rpc(const u_char *, int, frame_data *, proto_tree *); extern int dissect_rpc_bool(const u_char *pd, int offset, frame_data *fd, proto_tree *tree, int hfindex); +extern int dissect_rpc_bool_tvb(tvbuff_t *tvb, packet_info *pinfo, + proto_tree *tree, int hfindex, int offset); extern int dissect_rpc_string(const u_char *pd, int offset, frame_data *fd, proto_tree *tree, int hfindex, char **string_buffer_ret); +extern int dissect_rpc_string_tvb(tvbuff_t *tvb, packet_info *pinfo, + proto_tree *tree, int hfindex, int offset, 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_data_tvb(tvbuff_t *tvb, packet_info *pinfo, + proto_tree *tree, int hfindex, int offset); extern int dissect_rpc_list(const u_char *pd, int offset, frame_data *fd, proto_tree *tree, dissect_function_t *rpc_list_dissector); extern int dissect_rpc_uint32(const u_char *pd, int offset, frame_data *fd, - proto_tree *tree, char* name, char* type); + proto_tree *tree, char* name); +extern int dissect_rpc_uint32_tvb(tvbuff_t *tvb, packet_info *pinfo, + proto_tree *tree, int hfindex, int offset); extern int dissect_rpc_uint64(const u_char *pd, int offset, frame_data *fd, - proto_tree *tree, char* name, char* type); + proto_tree *tree, char* name); +extern int dissect_rpc_uint64_tvb(tvbuff_t *tvb, packet_info *pinfo, + proto_tree *tree, int hfindex, int offset); #endif /* packet-rpc.h */ |