]> git.sven.stormbind.net Git - sven/exfatprogs.git/blob - fsck/repair.h
New upstream version 1.0.3
[sven/exfatprogs.git] / fsck / repair.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  *  Copyright (C) 2020 Hyunchul Lee <hyc.lee@gmail.com>
4  */
5 #ifndef _REPAIR_H
6 #define _REPAIR_H
7
8 #define ER_BS_CHECKSUM                  0x00000001
9
10 typedef unsigned int er_problem_code_t;
11
12 union exfat_repair_context {
13         struct {
14                 __le32          checksum;
15                 void            *checksum_sect;
16         } bs_checksum;
17 };
18
19 bool exfat_repair(struct exfat *exfat, er_problem_code_t prcode,
20                         union exfat_repair_context *rctx);
21
22 #endif