OSDN Git Service

Relicensed the code from GPLv3+ to GPLv2+.
[android-x86/external-exfat.git] / mkfs / fat.h
index 741474f..1327f0a 100644 (file)
@@ -2,11 +2,12 @@
        fat.h (09.11.10)
        File Allocation Table creation code.
 
        fat.h (09.11.10)
        File Allocation Table creation code.
 
-       Copyright (C) 2011, 2012  Andrew Nayenko
+       Free exFAT implementation.
+       Copyright (C) 2011-2013  Andrew Nayenko
 
 
-       This program is free software: you can redistribute it and/or modify
+       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
        it under the terms of the GNU General Public License as published by
-       the Free Software Foundation, either version 3 of the License, or
+       the Free Software Foundation, either version 2 of the License, or
        (at your option) any later version.
 
        This program is distributed in the hope that it will be useful,
        (at your option) any later version.
 
        This program is distributed in the hope that it will be useful,
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
 
        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/>.
+       You should have received a copy of the GNU General Public License along
+       with this program; if not, write to the Free Software Foundation, Inc.,
+       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
 #ifndef MKFS_FAT_H_INCLUDED
 #define MKFS_FAT_H_INCLUDED
 
 */
 
 #ifndef MKFS_FAT_H_INCLUDED
 #define MKFS_FAT_H_INCLUDED
 
-off_t fat_alignment(void);
-off_t fat_size(void);
-int fat_write(struct exfat_dev* dev, off_t base);
+#include "mkexfat.h"
+
+extern const struct fs_object fat;
 
 #endif /* ifndef MKFS_FAT_H_INCLUDED */
 
 #endif /* ifndef MKFS_FAT_H_INCLUDED */