Deleted Added
full compact
smb.h (108470) smb.h (108533)
1/*
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/netsmb/smb.h 108470 2002-12-30 21:18:15Z schweikh $
32 * $FreeBSD: head/sys/netsmb/smb.h 108533 2003-01-01 18:49:04Z schweikh $
33 */
34
35/*
36 * Common definitions and structures for SMB/CIFS protocol
37 */
38
39#ifndef _NETSMB_SMB_H_
40#define _NETSMB_SMB_H_

--- 386 unchanged lines hidden (view full) ---

427#define ERRbadreq 24 /* Bad request structure length */
428#define ERRseek 25 /* Seek error */
429#define ERRbadmedia 26 /* Unknown media type */
430#define ERRbadsector 27 /* Sector not found */
431#define ERRnopaper 28 /* Printer out of paper */
432#define ERRwrite 29 /* Write fault */
433#define ERRread 30 /* Read fault */
434#define ERRgeneral 31 /* General failure */
33 */
34
35/*
36 * Common definitions and structures for SMB/CIFS protocol
37 */
38
39#ifndef _NETSMB_SMB_H_
40#define _NETSMB_SMB_H_

--- 386 unchanged lines hidden (view full) ---

427#define ERRbadreq 24 /* Bad request structure length */
428#define ERRseek 25 /* Seek error */
429#define ERRbadmedia 26 /* Unknown media type */
430#define ERRbadsector 27 /* Sector not found */
431#define ERRnopaper 28 /* Printer out of paper */
432#define ERRwrite 29 /* Write fault */
433#define ERRread 30 /* Read fault */
434#define ERRgeneral 31 /* General failure */
435#define ERRbadshare 32 /* A open conflicts with an existing open */
435#define ERRbadshare 32 /* An open conflicts with an existing open */
436#define ERRlock 33 /* lock/unlock conflict */
437#define ERRwrongdisk 34 /* The wrong disk was found in a drive */
438#define ERRFCBunavail 35 /* No FCBs available */
439#define ERRsharebufexc 36 /* A sharing buffer has been exceeded */
440#define ERRdiskfull 39
441
442/*
443 * RAP error codes (it seems that they returned not only by RAP)
444 */
445#define SMB_ERROR_ACCESS_DENIED 5
446#define SMB_ERROR_NETWORK_ACCESS_DENIED 65
447#define SMB_ERROR_MORE_DATA 234
448
449typedef u_int16_t smbfh;
450
451#endif /* _NETSMB_SMB_H_ */
436#define ERRlock 33 /* lock/unlock conflict */
437#define ERRwrongdisk 34 /* The wrong disk was found in a drive */
438#define ERRFCBunavail 35 /* No FCBs available */
439#define ERRsharebufexc 36 /* A sharing buffer has been exceeded */
440#define ERRdiskfull 39
441
442/*
443 * RAP error codes (it seems that they returned not only by RAP)
444 */
445#define SMB_ERROR_ACCESS_DENIED 5
446#define SMB_ERROR_NETWORK_ACCESS_DENIED 65
447#define SMB_ERROR_MORE_DATA 234
448
449typedef u_int16_t smbfh;
450
451#endif /* _NETSMB_SMB_H_ */