2N/A * Copyright (c) 2000-2001 Boris Popov 2N/A * All rights reserved. 2N/A * Redistribution and use in source and binary forms, with or without 2N/A * modification, are permitted provided that the following conditions 2N/A * 1. Redistributions of source code must retain the above copyright 2N/A * notice, this list of conditions and the following disclaimer. 2N/A * 2. Redistributions in binary form must reproduce the above copyright 2N/A * notice, this list of conditions and the following disclaimer in the 2N/A * documentation and/or other materials provided with the distribution. 2N/A * 3. All advertising materials mentioning features or use of this software 2N/A * must display the following acknowledgement: 2N/A * This product includes software developed by Boris Popov. 2N/A * 4. Neither the name of the author nor the names of any co-contributors 2N/A * may be used to endorse or promote products derived from this software 2N/A * without specific prior written permission. 2N/A * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2N/A * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2N/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2N/A * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2N/A * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2N/A * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2N/A * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2N/A * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2N/A * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2N/A * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2N/A * $Id: smb_lib.h,v 1.21.82.2 2005/06/02 00:55:39 lindak Exp $ 2N/A * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * Internal interface exported to our commands in: 2N/A * bits to indicate the source of error 2N/A * The driver needs to know this, so it's 2N/A * This is what goes across the door call to the IOD 2N/A * when asking for a new connection. 2N/A * iod_ntstatus can be set to either NT_STATUS_UNSUCCESSFUL (for 2N/A * internal errors) or NT status returned by remote server upon 2N/A * SmbSessionSetup failure. 2N/A * Other fields are used for encoding the SmbSessionSetup request. 2N/A /* Kerberos cred. cache res. name? */ 2N/A * This is the return values of the door call to the IOD 2N/A * when asking for a new connection. 2N/A int r_err;
/* errno or user-defined error */ 2N/A * SMB work context. Used to store all values which are necessary 2N/A * to establish connection to an SMB server. 2N/A /* smbioc_oshare_t ct_sh; XXX */ 2N/A /* Connection setup SMB stuff. */ 2N/A /* Strings from the SMB negotiate response. */ 2N/A /* NTLM auth. stuff */ 2N/A * Short-hand for some of the substruct fields above 2N/A#
define SMBCF_XXX 0x01000000 /* mount-all, a very bad thing */ 2N/A * Context management 2N/A/* SMBFS client credential cache functions */ 2N/A#
endif /* _NETSMB_SMB_LIB_H_ */