aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-mailslot.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-mailslot.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-mailslot.h')
-rw-r--r--packet-smb-mailslot.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/packet-smb-mailslot.h b/packet-smb-mailslot.h
new file mode 100644
index 0000000000..e22dd17405
--- /dev/null
+++ b/packet-smb-mailslot.h
@@ -0,0 +1,30 @@
+/* packet-smb-mailslot.h
+ * Declaration of routines for SMB mailslot packet dissection
+ * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
+ *
+ * $Id: packet-smb-mailslot.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_mailslot_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);