aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-pipe.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-08-05 01:15:27 +0000
committerGuy Harris <guy@alum.mit.edu>2001-08-05 01:15:27 +0000
commitd2b01e812b82b4640389ddb31fe5176abe92f19a (patch)
treefd8cfcd25f6e04dde725229fee4cbd78dfa52d29 /packet-smb-pipe.h
parentd271509c7e5c18fce2f700cf52b570717046126d (diff)
downloadwireshark-d2b01e812b82b4640389ddb31fe5176abe92f19a.tar.gz
wireshark-d2b01e812b82b4640389ddb31fe5176abe92f19a.tar.bz2
wireshark-d2b01e812b82b4640389ddb31fe5176abe92f19a.zip
Remote API protocol (that seems to be what it's called in a number of
places) dissector tvbuffified, from Ronnie Sahlberg and me. Additional "are we past the end of the buffer" checks added, so that we don't hand random junk to the transaction and transact2 dissectors. svn path=/trunk/; revision=3824
Diffstat (limited to 'packet-smb-pipe.h')
-rw-r--r--packet-smb-pipe.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/packet-smb-pipe.h b/packet-smb-pipe.h
index a0717aaf5a..db30e8bb74 100644
--- a/packet-smb-pipe.h
+++ b/packet-smb-pipe.h
@@ -2,10 +2,10 @@
* Declarations of routines for SMB named pipe packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb-pipe.h,v 1.3 2001/08/05 00:16:36 guy Exp $
+ * $Id: packet-smb-pipe.h,v 1.4 2001/08/05 01:15:26 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
@@ -23,8 +23,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifndef _PACKET_SMB_PIPE_H_
+#define _PACKET_SMB_PIPE_H_
+
gboolean
-dissect_pipe_smb(const u_char *pd, int offset, frame_data *fd,
- proto_tree *parent, proto_tree *tree, int max_data,
- int SMB_offset, int errcode, const u_char *command,
- int DataOffset, int DataCount, int ParameterOffset, int ParameterCount);
+dissect_pipe_smb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+ char *command);
+
+#endif