aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-pipe.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-03-18 03:23:30 +0000
committerGuy Harris <guy@alum.mit.edu>2001-03-18 03:23:30 +0000
commitb8289288e85f21c738cf00d27d0f5a33062dbcab (patch)
treeb2412a5008626726a43a9a06f3508ce140d9c90e /packet-smb-pipe.h
parent8e268424e1a1542c9d2e355c874c61912fb166c1 (diff)
Correctly handle Interim responses to TRANSACTION requests.
Move the declaration of routines exported from "packet-smb-mailslot.c" into a "packet-smb-mailslot.h" header file, and have modules that import those routines include "packet-smb-mailslot.h" rather than declaring the routines themselves; do the same for routines exported from "packet-smb-pipe.c". Make routines not exported static, and make routines that return a true/false return value "gboolean" rather than "guint32". svn path=/trunk/; revision=3146
Diffstat (limited to 'packet-smb-pipe.h')
-rw-r--r--packet-smb-pipe.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/packet-smb-pipe.h b/packet-smb-pipe.h
new file mode 100644
index 0000000000..5b7f00d9c3
--- /dev/null
+++ b/packet-smb-pipe.h
@@ -0,0 +1,37 @@
+/* packet-smb-pipe.h
+ * 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 $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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);
+
+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);