Debian Codegraph @

src/plugins/fs/xfs.h

raw
1 #include <glib.h>
2 #include <blockdev/utils.h>
3
4 #ifndef BD_FS_XFS
5 #define BD_FS_XFS
6
7 typedef struct BDFSXfsInfo {
8 gchar *label;
9 gchar *uuid;
10 guint64 block_size;
11 guint64 block_count;
12 } BDFSXfsInfo;
13
14 BDFSXfsInfo* bd_fs_xfs_info_copy (BDFSXfsInfo *data);
15 void bd_fs_xfs_info_free (BDFSXfsInfo *data);
16
17 gboolean bd_fs_xfs_mkfs (const gchar *device, const BDExtraArg **extra, GError **error);
18 gboolean bd_fs_xfs_check (const gchar *device, const BDExtraArg **extra, GError **error);
19 gboolean bd_fs_xfs_repair (const gchar *device, const BDExtraArg **extra, GError **error);
20 gboolean bd_fs_xfs_set_label (const gchar *device, const gchar *label, GError **error);
21 gboolean bd_fs_xfs_check_label (const gchar *label, GError **error);
22 gboolean bd_fs_xfs_set_uuid (const gchar *device, const gchar *uuid, GError **error);
23 gboolean bd_fs_xfs_check_uuid (const gchar *uuid, GError **error);
24 BDFSXfsInfo* bd_fs_xfs_get_info (const gchar *device, GError **error);
25 gboolean bd_fs_xfs_resize (const gchar *mpoint, guint64 new_size, const BDExtraArg **extra, GError **error);
26
27 #endif /* BD_FS_XFS */