Loading...
Searching...
No Matches
fatio.h
Go to the documentation of this file.
/*
libparted
Copyright (C) 1998-2000, 2007, 2009-2014, 2019-2023, 2026 Free Software
Foundation, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef FATIO_H_INCLUDED
#define FATIO_H_INCLUDED
#include "fat.h"
extern int fat_read_fragments (PedFileSystem* fs, char* buf, FatFragment frag,
FatFragment count);
extern int fat_write_fragments (PedFileSystem* fs, char* buf, FatFragment frag,
FatFragment count);
extern int fat_write_sync_fragments (PedFileSystem* fs, char* buf,
FatFragment frag, FatFragment count);
extern int fat_read_fragment (PedFileSystem* fs, char* buf, FatFragment frag);
extern int fat_write_fragment (PedFileSystem* fs, char* buf, FatFragment frag);
extern int fat_write_sync_fragment (PedFileSystem* fs, char* buf,
FatFragment frag);
extern int fat_read_clusters (PedFileSystem* fs, char* buf, FatCluster cluster,
FatCluster count);
extern int fat_write_clusters (PedFileSystem* fs, char* buf, FatCluster cluster,
FatCluster count);
extern int fat_write_sync_clusters (PedFileSystem* fs, char* buf,
FatCluster cluster, FatCluster count);
extern int fat_read_cluster (PedFileSystem* fs, char *buf, FatCluster cluster);
extern int fat_write_cluster (PedFileSystem* fs, char *buf, FatCluster cluster);
extern int fat_write_sync_cluster (PedFileSystem* fs, char *buf,
FatCluster cluster);
#endif /* FATIO_H_INCLUDED */
FatFragment
int32_t FatFragment
Definition fat.h:42
FatCluster
uint32_t FatCluster
Definition fat.h:41
fat_read_fragment
int fat_read_fragment(PedFileSystem *fs, char *buf, FatFragment frag)
Definition fatio.c:48
fat_write_sync_fragment
int fat_write_sync_fragment(PedFileSystem *fs, char *buf, FatFragment frag)
Definition fatio.c:84
fat_write_cluster
int fat_write_cluster(PedFileSystem *fs, char *buf, FatCluster cluster)
Definition fatio.c:124
fat_write_clusters
int fat_write_clusters(PedFileSystem *fs, char *buf, FatCluster cluster, FatCluster count)
Definition fatio.c:110
fat_write_sync_cluster
int fat_write_sync_cluster(PedFileSystem *fs, char *buf, FatCluster cluster)
Definition fatio.c:141
fat_read_clusters
int fat_read_clusters(PedFileSystem *fs, char *buf, FatCluster cluster, FatCluster count)
Definition fatio.c:90
fat_write_fragments
int fat_write_fragments(PedFileSystem *fs, char *buf, FatFragment frag, FatFragment count)
Definition fatio.c:54
fat_write_sync_fragments
int fat_write_sync_fragments(PedFileSystem *fs, char *buf, FatFragment frag, FatFragment count)
Definition fatio.c:73
fat_read_cluster
int fat_read_cluster(PedFileSystem *fs, char *buf, FatCluster cluster)
Definition fatio.c:104
fat_write_fragment
int fat_write_fragment(PedFileSystem *fs, char *buf, FatFragment frag)
Definition fatio.c:67
fat_write_sync_clusters
int fat_write_sync_clusters(PedFileSystem *fs, char *buf, FatCluster cluster, FatCluster count)
Definition fatio.c:130
fat_read_fragments
int fat_read_fragments(PedFileSystem *fs, char *buf, FatFragment frag, FatFragment count)
Definition fatio.c:35
PedFileSystem
struct _PedFileSystem PedFileSystem
Definition filesys.h:30
fat.h