Call subdissectors even if we're not building a protocol tree.
[obnox/wireshark/wip.git] / packet-smb-pipe.h
index 5b7f00d9c3a7146b4e503d3ee5ac3ee4f87eb1ae..f422fd27f43fa60909e3eee6be5e62702cf6409f 100644 (file)
@@ -2,36 +2,36 @@
  * Declarations of routines for SMB named pipe packet dissection
  * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
  *
- * $Id: packet-smb-pipe.h,v 1.1 2001/03/18 03:23:30 guy Exp $
+ * $Id: packet-smb-pipe.h,v 1.11 2002/08/28 21:00:31 jmayer 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
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * of the License, or (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-gboolean
-dissect_pipe_lanman(const u_char *pd, int offset, frame_data *fd,
-       proto_tree *parent, proto_tree *tree, struct smb_info si,
-       int max_data, int SMB_offset, int errcode, int dirn,
-       const u_char *command, int DataOffset, int DataCount,
-       int ParameterOffset, int ParameterCount);
+#ifndef _PACKET_SMB_PIPE_H_
+#define _PACKET_SMB_PIPE_H_
 
+extern gboolean
+dissect_pipe_smb(tvbuff_t *sp_tvb, tvbuff_t *s_tvb, tvbuff_t *pd_tvb,
+                tvbuff_t *p_tvb, tvbuff_t *d_tvb, const char *pipe,
+                packet_info *pinfo, proto_tree *tree);
 gboolean
-dissect_pipe_smb(const u_char *pd, int offset, frame_data *fd,
-    proto_tree *parent, proto_tree *tree, struct smb_info si, int max_data,
-    int SMB_offset, int errcode, int dirn, const u_char *command,
-    int DataOffset, int DataCount, int ParameterOffset, int ParameterCount);
+dissect_pipe_dcerpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree,
+               proto_tree *tree, guint32 fid);
+
+#endif