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