fs.h (mtools-4.0.35.tar.bz2) | : | fs.h (mtools-4.0.36.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | * GNU General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with Mtools. If not, see <http://www.gnu.org/licenses/>. | * along with Mtools. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | */ | |||
#include "stream.h" | #include "stream.h" | |||
typedef struct FsPublic_t { | ||||
Class_t *Class; | ||||
int refs; | ||||
Stream_t *Next; | ||||
Stream_t *Buffer; | ||||
int serialized; | ||||
unsigned long serial_number; | ||||
uint8_t cluster_size; | ||||
uint16_t sector_size; | ||||
} FsPublic_t; | ||||
Stream_t *fs_init(char drive, int mode, int *isRop); | Stream_t *fs_init(char drive, int mode, int *isRop); | |||
int fat_free(Stream_t *Dir, unsigned int fat); | int fat_free(Stream_t *Dir, unsigned int fat); | |||
int fatFreeWithDir(Stream_t *Dir, struct directory *dir); | int fatFreeWithDir(Stream_t *Dir, struct directory *dir); | |||
int fat_error(Stream_t *Dir); | int fat_error(Stream_t *Dir); | |||
uint32_t fat32RootCluster(Stream_t *Dir); | uint32_t fat32RootCluster(Stream_t *Dir); | |||
char getDrive(Stream_t *Stream); | char getDrive(Stream_t *Stream); | |||
typedef struct Fs_t Fs_t; | ||||
bool getSerialized(Fs_t *File); | ||||
unsigned long getSerialNumber(Fs_t *File); | ||||
uint32_t getClusterBytes(Fs_t *File); | ||||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
12 lines changed or deleted | 5 lines changed or added |