1N/A/*
1N/A libparted
1N/A Copyright (C) 1998-2000, 2007, 2009-2010 Free Software Foundation,
1N/A Inc.
1N/A
1N/A This program is free software; you can redistribute it and/or modify
1N/A it under the terms of the GNU General Public License as published by
1N/A the Free Software Foundation; either version 3 of the License, or
1N/A (at your option) any later version.
1N/A
1N/A This program is distributed in the hope that it will be useful,
1N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
1N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1N/A GNU General Public License for more details.
1N/A
1N/A You should have received a copy of the GNU General Public License
1N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
1N/A*/
1N/A
1N/A#ifndef FATIO_H_INCLUDED
1N/A#define FATIO_H_INCLUDED
1N/A
1N/A#include "fat.h"
1N/A
1N/Aextern int fat_read_fragments (PedFileSystem* fs, char* buf, FatFragment frag,
1N/A FatFragment count);
1N/Aextern int fat_write_fragments (PedFileSystem* fs, char* buf, FatFragment frag,
1N/A FatFragment count);
1N/Aextern int fat_write_sync_fragments (PedFileSystem* fs, char* buf,
1N/A FatFragment frag, FatFragment count);
1N/A
1N/Aextern int fat_read_fragment (PedFileSystem* fs, char* buf, FatFragment frag);
1N/Aextern int fat_write_fragment (PedFileSystem* fs, char* buf, FatFragment frag);
1N/Aextern int fat_write_sync_fragment (PedFileSystem* fs, char* buf,
1N/A FatFragment frag);
1N/A
1N/Aextern int fat_read_clusters (PedFileSystem* fs, char* buf, FatCluster cluster,
1N/A FatCluster count);
1N/Aextern int fat_write_clusters (PedFileSystem* fs, char* buf, FatCluster cluster,
1N/A FatCluster count);
1N/Aextern int fat_write_sync_clusters (PedFileSystem* fs, char* buf,
1N/A FatCluster cluster, FatCluster count);
1N/A
1N/Aextern int fat_read_cluster (PedFileSystem* fs, char *buf, FatCluster cluster);
1N/Aextern int fat_write_cluster (PedFileSystem* fs, char *buf, FatCluster cluster);
1N/Aextern int fat_write_sync_cluster (PedFileSystem* fs, char *buf,
1N/A FatCluster cluster);
1N/A
1N/A#endif /* FATIO_H_INCLUDED */