dosfs.h (259590) | dosfs.h (298230) |
---|---|
1/* 2 * Copyright (c) 1996, 1998 Robert Nordier 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 --- 10 unchanged lines hidden (view full) --- 19 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 21 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 23 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 25 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * | 1/* 2 * Copyright (c) 1996, 1998 Robert Nordier 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 --- 10 unchanged lines hidden (view full) --- 19 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 21 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 23 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 25 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/lib/libstand/dosfs.h 259590 2013-12-19 05:23:10Z marcel $ | 27 * $FreeBSD: head/lib/libstand/dosfs.h 298230 2016-04-18 23:09:22Z allanjude $ |
28 */ 29 30#ifndef DOSIO_H 31#define DOSIO_H 32 33/* 34 * DOS file attributes 35 */ --- 55 unchanged lines hidden (view full) --- 91 92typedef union { 93 DOS_DE de; /* standard directory entry */ 94 DOS_XDE xde; /* extended directory entry */ 95} DOS_DIR; 96 97typedef struct { 98 struct open_file *fd; /* file descriptor */ | 28 */ 29 30#ifndef DOSIO_H 31#define DOSIO_H 32 33/* 34 * DOS file attributes 35 */ --- 55 unchanged lines hidden (view full) --- 91 92typedef union { 93 DOS_DE de; /* standard directory entry */ 94 DOS_XDE xde; /* extended directory entry */ 95} DOS_DIR; 96 97typedef struct { 98 struct open_file *fd; /* file descriptor */ |
99 u_char *buf; /* buffer */ 100 u_int bufsec; /* buffered sector */ | |
101 u_int links; /* active links to structure */ 102 u_int spc; /* sectors per cluster */ 103 u_int bsize; /* cluster size in bytes */ 104 u_int bshift; /* cluster conversion shift */ 105 u_int dirents; /* root directory entries */ 106 u_int spf; /* sectors per fat */ 107 u_int rdcl; /* root directory start cluster */ 108 u_int lsnfat; /* start of fat */ --- 15 unchanged lines hidden --- | 99 u_int links; /* active links to structure */ 100 u_int spc; /* sectors per cluster */ 101 u_int bsize; /* cluster size in bytes */ 102 u_int bshift; /* cluster conversion shift */ 103 u_int dirents; /* root directory entries */ 104 u_int spf; /* sectors per fat */ 105 u_int rdcl; /* root directory start cluster */ 106 u_int lsnfat; /* start of fat */ --- 15 unchanged lines hidden --- |