diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-03-18 03:34:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-03-18 03:34:22 +0000 |
commit | 7c8faf262fc2117a90979ff6785e498e138376c0 (patch) | |
tree | 71af60f1599336dcdf2239d43ef832b177de6e16 /packet-smb-mailslot.c | |
parent | b8289288e85f21c738cf00d27d0f5a33062dbcab (diff) | |
download | wireshark-7c8faf262fc2117a90979ff6785e498e138376c0.tar.gz wireshark-7c8faf262fc2117a90979ff6785e498e138376c0.tar.bz2 wireshark-7c8faf262fc2117a90979ff6785e498e138376c0.zip |
Move the declaration of routines exported from "packet-smb-browse.c"
into a "packet-smb-browse.h" header file, and have modules that import
those routines include "packet-smb-browse.h" rather than declaring the
routines themselves; do the same for routines exported from
"packet-smb-logon.c".
Make routines and arrays not exported static, and make routines that
return a true/false return value "gboolean" rather than "guint32".
svn path=/trunk/; revision=3147
Diffstat (limited to 'packet-smb-mailslot.c')
-rw-r--r-- | packet-smb-mailslot.c | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/packet-smb-mailslot.c b/packet-smb-mailslot.c index c0a96adca9..f510a3db9a 100644 --- a/packet-smb-mailslot.c +++ b/packet-smb-mailslot.c @@ -2,7 +2,7 @@ * Routines for SMB mailslot packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-smb-mailslot.c,v 1.10 2001/03/18 03:23:30 guy Exp $ + * $Id: packet-smb-mailslot.c,v 1.11 2001/03/18 03:34:22 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -28,36 +28,14 @@ #include "packet-smb-common.h" #include "packet-smb-mailslot.h" +#include "packet-smb-browse.h" +#include "packet-smb-logon.h" #include "packet-smb-pipe.h" static int proto_smb_msp = -1; static int ett_smb_msp = -1; - -/*** External dissectors called from here */ - -extern guint32 -dissect_mailslot_browse(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); - -extern guint32 -dissect_smb_ntlogon(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); - - -extern guint32 -dissect_smb_logon(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); - - - 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, |