Debian Codegraph @

src/plugins/fs/ntfs.h

raw
1 #include <glib.h>
2 #include <blockdev/utils.h>
3
4 #ifndef BD_FS_NTFS
5 #define BD_FS_NTFS
6
7 typedef struct BDFSNtfsInfo {
8 gchar *label;
9 gchar *uuid;
10 guint64 size;
11 guint64 free_space;
12 } BDFSNtfsInfo;
13
14 BDFSNtfsInfo* bd_fs_ntfs_info_copy (BDFSNtfsInfo *data);
15 void bd_fs_ntfs_info_free (BDFSNtfsInfo *data);
16
17 gboolean bd_fs_ntfs_mkfs (const gchar *device, const BDExtraArg **extra, GError **error);
18 gboolean bd_fs_ntfs_check (const gchar *device, const BDExtraArg **extra, GError **error);
19 gboolean bd_fs_ntfs_repair (const gchar *device, const BDExtraArg **extra, GError **error);
20 gboolean bd_fs_ntfs_set_label (const gchar *device, const gchar *label, GError **error);
21 gboolean bd_fs_ntfs_check_label (const gchar *label, GError **error);
22 gboolean bd_fs_ntfs_set_uuid (const gchar *device, const gchar *uuid, GError **error);
23 gboolean bd_fs_ntfs_check_uuid ( const gchar *uuid, GError **error);
24 BDFSNtfsInfo* bd_fs_ntfs_get_info (const gchar *device, GError **error);
25 gboolean bd_fs_ntfs_resize (const gchar *device, guint64 new_size, GError **error);
26 guint64 bd_fs_ntfs_get_min_size (const gchar *device, GError **error);
27
28 #endif /* BD_FS_NTFS */