diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-03-18 03:34:22 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-03-18 03:34:22 +0000 |
commit | 2dcc4567e75a382b0f03777b3309f2be97388d89 (patch) | |
tree | 71af60f1599336dcdf2239d43ef832b177de6e16 /packet-smb-mailslot.c | |
parent | 3491930cfe0417a6b5a2ca17e2a07d168ff8223f (diff) |
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".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3147 f5534014-38df-0310-8fa8-9805f1628bb7
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, |