X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fexfat-utils.git;a=blobdiff_plain;f=libexfat%2Fexfat.h;h=75cb6e674ca415151e6ce7c74fefbc65b2e6b6c6;hp=122ac5be75c3ba4803a0b0764762ee21a3ccded6;hb=d99d52ff73deacfe427403765682015d5825799b;hpb=9420cfdeee25e4d97e7fc6f7cbb286e5089caccb diff --git a/libexfat/exfat.h b/libexfat/exfat.h index 122ac5b..75cb6e6 100644 --- a/libexfat/exfat.h +++ b/libexfat/exfat.h @@ -4,7 +4,7 @@ implementation. Free exFAT implementation. - Copyright (C) 2010-2015 Andrew Nayenko + Copyright (C) 2010-2016 Andrew Nayenko 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 @@ -97,8 +97,7 @@ struct exfat { struct exfat_dev* dev; struct exfat_super_block* sb; - le16_t* upcase; - size_t upcase_chars; + uint16_t* upcase; struct exfat_node* root; struct { @@ -169,6 +168,7 @@ cluster_t exfat_next_cluster(const struct exfat* ef, const struct exfat_node* node, cluster_t cluster); cluster_t exfat_advance_cluster(const struct exfat* ef, struct exfat_node* node, uint32_t count); +int exfat_flush_nodes(struct exfat* ef); int exfat_flush(struct exfat* ef); int exfat_truncate(struct exfat* ef, struct exfat_node* node, uint64_t size, bool erase);