diff options
Diffstat (limited to 'src/gdu-device.h')
-rw-r--r-- | src/gdu-device.h | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/src/gdu-device.h b/src/gdu-device.h index 2682c81..0e584aa 100644 --- a/src/gdu-device.h +++ b/src/gdu-device.h @@ -126,30 +126,33 @@ const char *gdu_device_drive_get_revision (GduDevice *device); const char *gdu_device_drive_get_serial (GduDevice *device); /* fire and forget ops */ -void gdu_device_op_mkfs (GduDevice *device, - const char *fstype, - const char *fslabel, - const char *fserase); -void gdu_device_op_mount (GduDevice *device); -void gdu_device_op_unmount (GduDevice *device); -void gdu_device_op_delete_partition (GduDevice *device, - const char *secure_erase); -void gdu_device_op_create_partition (GduDevice *device, - guint64 offset, - guint64 size, - const char *type, - const char *label, - char **flags, - const char *fstype, - const char *fslabel, - const char *fserase); -void gdu_device_op_modify_partition (GduDevice *device, - const char *type, - const char *label, - char **flags); +void gdu_device_op_mkfs (GduDevice *device, + const char *fstype, + const char *fslabel, + const char *fserase); +void gdu_device_op_mount (GduDevice *device); +void gdu_device_op_unmount (GduDevice *device); +void gdu_device_op_delete_partition (GduDevice *device, + const char *secure_erase); +void gdu_device_op_create_partition (GduDevice *device, + guint64 offset, + guint64 size, + const char *type, + const char *label, + char **flags, + const char *fstype, + const char *fslabel, + const char *fserase); +void gdu_device_op_modify_partition (GduDevice *device, + const char *type, + const char *label, + char **flags); void gdu_device_op_create_partition_table (GduDevice *device, const char *scheme, const char *secure_erase); +void gdu_device_op_unlock_encrypted (GduDevice *device, + const char *secret); +void gdu_device_op_lock_encrypted (GduDevice *device); |