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-browse.h | |
parent | b8289288e85f21c738cf00d27d0f5a33062dbcab (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".
svn path=/trunk/; revision=3147
Diffstat (limited to 'packet-smb-browse.h')
-rw-r--r-- | packet-smb-browse.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/packet-smb-browse.h b/packet-smb-browse.h new file mode 100644 index 0000000000..61a9722f51 --- /dev/null +++ b/packet-smb-browse.h @@ -0,0 +1,30 @@ +/* packet-smb-browse.h + * Declaration of routines for SMB Browser packet dissection + * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> + * + * $Id: packet-smb-browse.h,v 1.1 2001/03/18 03:34:22 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_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); |