Debian Codegraph @

src/plugins/fs/udf.h

raw
1 #include <glib.h>
2 #include <blockdev/utils.h>
3
4 #ifndef BD_FS_UDF
5 #define BD_FS_UDF
6
7 typedef struct BDFSUdfInfo {
8 gchar *label;
9 gchar *uuid;
10 gchar *revision;
11 gchar *lvid;
12 gchar *vid;
13 guint64 block_size;
14 guint64 block_count;
15 guint64 free_blocks;
16 } BDFSUdfInfo;
17
18 BDFSUdfInfo* bd_fs_udf_info_copy (BDFSUdfInfo *data);
19 void bd_fs_udf_info_free (BDFSUdfInfo *data);
20
21 gboolean bd_fs_udf_mkfs (const gchar *device, const gchar *media_type, gchar *revision, guint64 block_size, const BDExtraArg **extra, GError **error);
22 gboolean bd_fs_udf_set_label (const gchar *device, const gchar *label, GError **error);
23 gboolean bd_fs_udf_check_label (const gchar *label, GError **error);
24 gboolean bd_fs_udf_set_uuid (const gchar *device, const gchar *uuid, GError **error);
25 gboolean bd_fs_udf_check_uuid ( const gchar *uuid, GError **error);
26 BDFSUdfInfo* bd_fs_udf_get_info (const gchar *device, GError **error);
27
28 #endif /* BD_FS_UDF */