X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Fexfatprogs.git;a=blobdiff_plain;f=include%2Flibexfat.h;h=0357d770bdd5835684e40745b524a5f69aae6579;hp=c21dc06756559ae5fa93c558fcae81e3ab8396d6;hb=refs%2Ftags%2Fupstream%2F1.1.1;hpb=4d5b0617d5bbdb7c887c479899b22a56d75d4c15 diff --git a/include/libexfat.h b/include/libexfat.h index c21dc06..0357d77 100644 --- a/include/libexfat.h +++ b/include/libexfat.h @@ -55,6 +55,7 @@ enum { struct exfat_blk_dev { int dev_fd; + unsigned long long offset; unsigned long long size; unsigned int sector_size; unsigned int sector_size_bits; @@ -69,6 +70,7 @@ struct exfat_user_input { unsigned int cluster_size; unsigned int sec_per_clu; unsigned int boundary_align; + bool pack_bitmap; bool quick; __u16 volume_label[VOLUME_LABEL_MAX_LEN]; int volume_label_len; @@ -104,7 +106,7 @@ int exfat_write_sector(struct exfat_blk_dev *bd, void *buf, unsigned int sec_off); int exfat_write_checksum_sector(struct exfat_blk_dev *bd, unsigned int checksum, bool is_backup); -char *exfat_conv_volume_serial(struct exfat_dentry *vol_entry); +char *exfat_conv_volume_label(struct exfat_dentry *vol_entry); int exfat_show_volume_serial(struct exfat_blk_dev *bd, struct exfat_user_input *ui); int exfat_set_volume_serial(struct exfat_blk_dev *bd,