Debian Codegraph @

src/plugins/fs/exfat.h

raw
1 #include <glib.h>
2 #include <blockdev/utils.h>
3
4 #ifndef BD_FS_EXFAT
5 #define BD_FS_EXFAT
6
7 typedef struct BDFSExfatInfo {
8 gchar *label;
9 gchar *uuid;
10 guint64 sector_size;
11 guint64 sector_count;
12 guint64 cluster_count;
13 } BDFSExfatInfo;
14
15 BDFSExfatInfo* bd_fs_exfat_info_copy (BDFSExfatInfo *data);
16 void bd_fs_exfat_info_free (BDFSExfatInfo *data);
17
18 gboolean bd_fs_exfat_mkfs (const gchar *device, const BDExtraArg **extra, GError **error);
19 gboolean bd_fs_exfat_check (const gchar *device, const BDExtraArg **extra, GError **error);
20 gboolean bd_fs_exfat_repair (const gchar *device, const BDExtraArg **extra, GError **error);
21 gboolean bd_fs_exfat_set_label (const gchar *device, const gchar *label, GError **error);
22 gboolean bd_fs_exfat_check_label (const gchar *label, GError **error);
23 gboolean bd_fs_exfat_set_uuid (const gchar *device, const gchar *uuid, GError **error);
24 gboolean bd_fs_exfat_check_uuid (const gchar *uuid, GError **error);
25 BDFSExfatInfo* bd_fs_exfat_get_info (const gchar *device, GError **error);
26
27 #endif /* BD_FS_EXFAT */