Release 0.41.92
[vala-gnome.git] / vapi / udisks2.vapi
blob1c486a00c5560ae3d783cb30cdcf6cf1585c5bb3
1 /* udisks2.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "UDisks", gir_namespace = "UDisks", gir_version = "2.0", lower_case_cprefix = "udisks_")]
4 namespace UDisks {
5         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_block_proxy_get_type ()")]
6         public class BlockProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Block {
7                 [CCode (cname = "udisks_block_proxy_new", has_construct_function = false)]
8                 public async BlockProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
9                 [CCode (cname = "udisks_block_proxy_new_for_bus", has_construct_function = false)]
10                 public async BlockProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
11                 [CCode (has_construct_function = false, type = "UDisksBlock*")]
12                 public BlockProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
13                 [CCode (has_construct_function = false, type = "UDisksBlock*")]
14                 public BlockProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
15         }
16         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_block_skeleton_get_type ()")]
17         public class BlockSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Block {
18                 [CCode (has_construct_function = false, type = "UDisksBlock*")]
19                 public BlockSkeleton ();
20         }
21         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_client_get_type ()")]
22         public class Client : GLib.Object, GLib.AsyncInitable, GLib.Initable {
23                 [CCode (cname = "udisks_client_new", has_construct_function = false)]
24                 public async Client (GLib.Cancellable? cancellable) throws GLib.Error;
25                 [Version (since = "2.1")]
26                 public GLib.List<UDisks.Block> get_all_blocks_for_mdraid (UDisks.MDRaid raid);
27                 public UDisks.Block get_block_for_dev (uint64 block_device_number);
28                 public UDisks.Block get_block_for_drive (UDisks.Drive drive, bool get_physical);
29                 public GLib.List<UDisks.Block> get_block_for_label (string label);
30                 [Version (since = "2.1")]
31                 public UDisks.Block get_block_for_mdraid (UDisks.MDRaid raid);
32                 public GLib.List<UDisks.Block> get_block_for_uuid (string uuid);
33                 public UDisks.Block get_cleartext_block (UDisks.Block block);
34                 public UDisks.Drive get_drive_for_block (UDisks.Block block);
35                 [Version (deprecated = true, deprecated_since = "2.1")]
36                 public void get_drive_info (UDisks.Drive drive, out string out_name, out string out_description, out GLib.Icon out_drive_icon, out string out_media_description, out GLib.Icon out_media_icon);
37                 [Version (since = "2.1")]
38                 public GLib.List<UDisks.Drive> get_drive_siblings (UDisks.Drive drive);
39                 public string get_id_for_display (string usage, string type, string version, bool long_string);
40                 public string get_job_description (UDisks.Job job);
41                 public GLib.List<UDisks.Job> get_jobs_for_object (UDisks.Object object);
42                 public UDisks.Loop get_loop_for_block (UDisks.Block block);
43                 public unowned UDisks.Manager get_manager ();
44                 [Version (since = "2.1")]
45                 public UDisks.MDRaid get_mdraid_for_block (UDisks.Block block);
46                 public string get_media_compat_for_display (string media_compat);
47                 [Version (since = "2.1")]
48                 public GLib.List<UDisks.Block> get_members_for_mdraid (UDisks.MDRaid raid);
49                 public UDisks.Object get_object (string object_path);
50                 [Version (since = "2.1")]
51                 public UDisks.ObjectInfo get_object_info (UDisks.Object object);
52                 public unowned GLib.DBusObjectManager get_object_manager ();
53                 public string get_partition_info (UDisks.Partition partition);
54                 public UDisks.PartitionTable get_partition_table (UDisks.Partition partition);
55                 public unowned string get_partition_table_subtype_for_display (string partition_table_type, string partition_table_subtype);
56                 [CCode (array_length = false, array_null_terminated = true)]
57                 public (unowned string)[] get_partition_table_subtypes (string partition_table_type);
58                 public unowned string get_partition_table_type_for_display (string partition_table_type);
59                 [Version (since = "2.1.1")]
60                 public unowned string get_partition_type_and_subtype_for_display (string partition_table_type, string partition_table_subtype, string partition_type);
61                 public unowned string get_partition_type_for_display (string partition_table_type, string partition_type);
62                 public GLib.List<UDisks.PartitionTypeInfo> get_partition_type_infos (string partition_table_type, string? partition_table_subtype);
63                 public GLib.List<UDisks.Partition> get_partitions (UDisks.PartitionTable table);
64                 public string get_size_for_display (uint64 size, bool use_pow2, bool long_string);
65                 public unowned UDisks.Object peek_object (string object_path);
66                 [Version (since = "2.1")]
67                 public void queue_changed ();
68                 public void settle ();
69                 [CCode (has_construct_function = false)]
70                 public Client.sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
71                 public UDisks.Manager manager { get; }
72                 public GLib.DBusObjectManager object_manager { get; }
73                 public signal void changed ();
74         }
75         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_ata_proxy_get_type ()")]
76         public class DriveAtaProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.DriveAta {
77                 [CCode (cname = "udisks_drive_ata_proxy_new", has_construct_function = false)]
78                 public async DriveAtaProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
79                 [CCode (cname = "udisks_drive_ata_proxy_new_for_bus", has_construct_function = false)]
80                 public async DriveAtaProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
81                 [CCode (has_construct_function = false, type = "UDisksDriveAta*")]
82                 public DriveAtaProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
83                 [CCode (has_construct_function = false, type = "UDisksDriveAta*")]
84                 public DriveAtaProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
85         }
86         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_ata_skeleton_get_type ()")]
87         public class DriveAtaSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.DriveAta {
88                 [CCode (has_construct_function = false, type = "UDisksDriveAta*")]
89                 public DriveAtaSkeleton ();
90         }
91         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_proxy_get_type ()")]
92         public class DriveProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Drive {
93                 [CCode (cname = "udisks_drive_proxy_new", has_construct_function = false)]
94                 public async DriveProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
95                 [CCode (cname = "udisks_drive_proxy_new_for_bus", has_construct_function = false)]
96                 public async DriveProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
97                 [CCode (has_construct_function = false, type = "UDisksDrive*")]
98                 public DriveProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
99                 [CCode (has_construct_function = false, type = "UDisksDrive*")]
100                 public DriveProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
101         }
102         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_skeleton_get_type ()")]
103         public class DriveSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Drive {
104                 [CCode (has_construct_function = false, type = "UDisksDrive*")]
105                 public DriveSkeleton ();
106         }
107         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_encrypted_proxy_get_type ()")]
108         public class EncryptedProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Encrypted {
109                 [CCode (cname = "udisks_encrypted_proxy_new", has_construct_function = false)]
110                 public async EncryptedProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
111                 [CCode (cname = "udisks_encrypted_proxy_new_for_bus", has_construct_function = false)]
112                 public async EncryptedProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
113                 [CCode (has_construct_function = false, type = "UDisksEncrypted*")]
114                 public EncryptedProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
115                 [CCode (has_construct_function = false, type = "UDisksEncrypted*")]
116                 public EncryptedProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
117         }
118         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_encrypted_skeleton_get_type ()")]
119         public class EncryptedSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Encrypted {
120                 [CCode (has_construct_function = false, type = "UDisksEncrypted*")]
121                 public EncryptedSkeleton ();
122         }
123         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_filesystem_proxy_get_type ()")]
124         public class FilesystemProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Filesystem {
125                 [CCode (cname = "udisks_filesystem_proxy_new", has_construct_function = false)]
126                 public async FilesystemProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
127                 [CCode (cname = "udisks_filesystem_proxy_new_for_bus", has_construct_function = false)]
128                 public async FilesystemProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
129                 [CCode (has_construct_function = false, type = "UDisksFilesystem*")]
130                 public FilesystemProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
131                 [CCode (has_construct_function = false, type = "UDisksFilesystem*")]
132                 public FilesystemProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
133         }
134         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_filesystem_skeleton_get_type ()")]
135         public class FilesystemSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Filesystem {
136                 [CCode (has_construct_function = false, type = "UDisksFilesystem*")]
137                 public FilesystemSkeleton ();
138         }
139         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_job_proxy_get_type ()")]
140         public class JobProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Job {
141                 [CCode (cname = "udisks_job_proxy_new", has_construct_function = false)]
142                 public async JobProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
143                 [CCode (cname = "udisks_job_proxy_new_for_bus", has_construct_function = false)]
144                 public async JobProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
145                 [CCode (has_construct_function = false, type = "UDisksJob*")]
146                 public JobProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
147                 [CCode (has_construct_function = false, type = "UDisksJob*")]
148                 public JobProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
149         }
150         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_job_skeleton_get_type ()")]
151         public class JobSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Job {
152                 [CCode (has_construct_function = false, type = "UDisksJob*")]
153                 public JobSkeleton ();
154         }
155         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_loop_proxy_get_type ()")]
156         public class LoopProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Loop {
157                 [CCode (cname = "udisks_loop_proxy_new", has_construct_function = false)]
158                 public async LoopProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
159                 [CCode (cname = "udisks_loop_proxy_new_for_bus", has_construct_function = false)]
160                 public async LoopProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
161                 [CCode (has_construct_function = false, type = "UDisksLoop*")]
162                 public LoopProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
163                 [CCode (has_construct_function = false, type = "UDisksLoop*")]
164                 public LoopProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
165         }
166         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_loop_skeleton_get_type ()")]
167         public class LoopSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Loop {
168                 [CCode (has_construct_function = false, type = "UDisksLoop*")]
169                 public LoopSkeleton ();
170         }
171         [CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid_proxy", type_id = "udisks_mdraid_proxy_get_type ()")]
172         [Version (since = "2.0.0")]
173         public class MDRaidProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.MDRaid {
174                 [CCode (cname = "udisks_mdraid_proxy_new", has_construct_function = false)]
175                 public async MDRaidProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
176                 [CCode (cname = "udisks_mdraid_proxy_new_for_bus", has_construct_function = false)]
177                 public async MDRaidProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
178                 [CCode (has_construct_function = false, type = "UDisksMDRaid*")]
179                 public MDRaidProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
180                 [CCode (has_construct_function = false, type = "UDisksMDRaid*")]
181                 public MDRaidProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
182         }
183         [CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid_skeleton", type_id = "udisks_mdraid_skeleton_get_type ()")]
184         [Version (since = "2.0.0")]
185         public class MDRaidSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.MDRaid {
186                 [CCode (has_construct_function = false, type = "UDisksMDRaid*")]
187                 public MDRaidSkeleton ();
188         }
189         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_manager_proxy_get_type ()")]
190         public class ManagerProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Manager {
191                 [CCode (cname = "udisks_manager_proxy_new", has_construct_function = false)]
192                 public async ManagerProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
193                 [CCode (cname = "udisks_manager_proxy_new_for_bus", has_construct_function = false)]
194                 public async ManagerProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
195                 [CCode (has_construct_function = false, type = "UDisksManager*")]
196                 public ManagerProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
197                 [CCode (has_construct_function = false, type = "UDisksManager*")]
198                 public ManagerProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
199         }
200         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_manager_skeleton_get_type ()")]
201         public class ManagerSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Manager {
202                 [CCode (has_construct_function = false, type = "UDisksManager*")]
203                 public ManagerSkeleton ();
204         }
205         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_info_get_type ()")]
206         [Version (since = "2.1")]
207         public class ObjectInfo : GLib.Object {
208                 [CCode (has_construct_function = false)]
209                 protected ObjectInfo ();
210                 public unowned string get_description ();
211                 public unowned GLib.Icon get_icon ();
212                 public unowned GLib.Icon get_icon_symbolic ();
213                 public unowned string get_media_description ();
214                 public unowned GLib.Icon get_media_icon ();
215                 public unowned GLib.Icon get_media_icon_symbolic ();
216                 public unowned string get_name ();
217                 public unowned UDisks.Object get_object ();
218                 public unowned string get_one_liner ();
219                 public unowned string get_sort_key ();
220         }
221         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_manager_client_get_type ()")]
222         public class ObjectManagerClient : GLib.DBusObjectManagerClient, GLib.AsyncInitable, GLib.DBusObjectManager, GLib.Initable {
223                 [CCode (cname = "udisks_object_manager_client_new", has_construct_function = false)]
224                 public async ObjectManagerClient (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
225                 [CCode (cname = "udisks_object_manager_client_new_for_bus", has_construct_function = false)]
226                 public async ObjectManagerClient.for_bus (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
227                 [CCode (has_construct_function = false, type = "GDBusObjectManager*")]
228                 public ObjectManagerClient.for_bus_sync (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
229                 public static GLib.Type get_proxy_type (GLib.DBusObjectManagerClient manager, string object_path, string? interface_name, void* user_data);
230                 [CCode (has_construct_function = false, type = "GDBusObjectManager*")]
231                 public ObjectManagerClient.sync (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
232         }
233         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_proxy_get_type ()")]
234         public class ObjectProxy : GLib.DBusObjectProxy, GLib.DBusObject, UDisks.Object {
235                 [CCode (has_construct_function = false)]
236                 public ObjectProxy (GLib.DBusConnection connection, string object_path);
237         }
238         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_skeleton_get_type ()")]
239         public class ObjectSkeleton : GLib.DBusObjectSkeleton, GLib.DBusObject, UDisks.Object {
240                 [CCode (has_construct_function = false)]
241                 public ObjectSkeleton (string object_path);
242                 public void set_block (UDisks.Block? interface_);
243                 public void set_drive (UDisks.Drive? interface_);
244                 public void set_drive_ata (UDisks.DriveAta? interface_);
245                 public void set_encrypted (UDisks.Encrypted? interface_);
246                 public void set_filesystem (UDisks.Filesystem? interface_);
247                 public void set_job (UDisks.Job? interface_);
248                 public void set_loop (UDisks.Loop? interface_);
249                 public void set_manager (UDisks.Manager? interface_);
250                 [Version (since = "2.0.0")]
251                 public void set_mdraid (UDisks.MDRaid? interface_);
252                 public void set_partition (UDisks.Partition? interface_);
253                 public void set_partition_table (UDisks.PartitionTable? interface_);
254                 public void set_swapspace (UDisks.Swapspace? interface_);
255         }
256         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_proxy_get_type ()")]
257         public class PartitionProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Partition {
258                 [CCode (cname = "udisks_partition_proxy_new", has_construct_function = false)]
259                 public async PartitionProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
260                 [CCode (cname = "udisks_partition_proxy_new_for_bus", has_construct_function = false)]
261                 public async PartitionProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
262                 [CCode (has_construct_function = false, type = "UDisksPartition*")]
263                 public PartitionProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
264                 [CCode (has_construct_function = false, type = "UDisksPartition*")]
265                 public PartitionProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
266         }
267         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_skeleton_get_type ()")]
268         public class PartitionSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Partition {
269                 [CCode (has_construct_function = false, type = "UDisksPartition*")]
270                 public PartitionSkeleton ();
271         }
272         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_table_proxy_get_type ()")]
273         public class PartitionTableProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.PartitionTable {
274                 [CCode (cname = "udisks_partition_table_proxy_new", has_construct_function = false)]
275                 public async PartitionTableProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
276                 [CCode (cname = "udisks_partition_table_proxy_new_for_bus", has_construct_function = false)]
277                 public async PartitionTableProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
278                 [CCode (has_construct_function = false, type = "UDisksPartitionTable*")]
279                 public PartitionTableProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
280                 [CCode (has_construct_function = false, type = "UDisksPartitionTable*")]
281                 public PartitionTableProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
282         }
283         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_table_skeleton_get_type ()")]
284         public class PartitionTableSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.PartitionTable {
285                 [CCode (has_construct_function = false, type = "UDisksPartitionTable*")]
286                 public PartitionTableSkeleton ();
287         }
288         [CCode (cheader_filename = "udisks/udisks.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "udisks_partition_type_info_get_type ()")]
289         [Compact]
290         public class PartitionTypeInfo {
291                 public UDisks.PartitionTypeInfoFlags flags;
292                 public weak string table_subtype;
293                 public weak string table_type;
294                 public weak string type;
295                 public void free ();
296         }
297         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_swapspace_proxy_get_type ()")]
298         public class SwapspaceProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Swapspace {
299                 [CCode (cname = "udisks_swapspace_proxy_new", has_construct_function = false)]
300                 public async SwapspaceProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
301                 [CCode (cname = "udisks_swapspace_proxy_new_for_bus", has_construct_function = false)]
302                 public async SwapspaceProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
303                 [CCode (has_construct_function = false, type = "UDisksSwapspace*")]
304                 public SwapspaceProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
305                 [CCode (has_construct_function = false, type = "UDisksSwapspace*")]
306                 public SwapspaceProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
307         }
308         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_swapspace_skeleton_get_type ()")]
309         public class SwapspaceSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Swapspace {
310                 [CCode (has_construct_function = false, type = "UDisksSwapspace*")]
311                 public SwapspaceSkeleton ();
312         }
313         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_block_get_type ()")]
314         public interface Block : GLib.Object {
315                 public async bool call_add_configuration_item (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
316                 public bool call_add_configuration_item_sync (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
317                 public async bool call_format (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
318                 public bool call_format_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
319                 public async bool call_get_secret_configuration (GLib.Variant arg_options, GLib.Cancellable? cancellable, out GLib.Variant out_configuration) throws GLib.Error;
320                 public bool call_get_secret_configuration_sync (GLib.Variant arg_options, out GLib.Variant out_configuration, GLib.Cancellable? cancellable = null) throws GLib.Error;
321                 public async bool call_open_for_backup (GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list) throws GLib.Error;
322                 public bool call_open_for_backup_sync (GLib.Variant arg_options, GLib.UnixFDList? fd_list, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
323                 public async bool call_open_for_benchmark (GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list) throws GLib.Error;
324                 public bool call_open_for_benchmark_sync (GLib.Variant arg_options, GLib.UnixFDList? fd_list, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
325                 public async bool call_open_for_restore (GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list) throws GLib.Error;
326                 public bool call_open_for_restore_sync (GLib.Variant arg_options, GLib.UnixFDList? fd_list, out GLib.Variant out_fd, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
327                 public async bool call_remove_configuration_item (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
328                 public bool call_remove_configuration_item_sync (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
329                 public async bool call_rescan (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
330                 public bool call_rescan_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
331                 public async bool call_update_configuration_item (GLib.Variant arg_old_item, GLib.Variant arg_new_item, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
332                 public bool call_update_configuration_item_sync (GLib.Variant arg_old_item, GLib.Variant arg_new_item, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
333                 public void complete_add_configuration_item (owned GLib.DBusMethodInvocation invocation);
334                 public void complete_format (owned GLib.DBusMethodInvocation invocation);
335                 public void complete_get_secret_configuration (owned GLib.DBusMethodInvocation invocation, GLib.Variant configuration);
336                 public void complete_open_for_backup (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
337                 public void complete_open_for_benchmark (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
338                 public void complete_open_for_restore (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
339                 public void complete_remove_configuration_item (owned GLib.DBusMethodInvocation invocation);
340                 public void complete_rescan (owned GLib.DBusMethodInvocation invocation);
341                 public void complete_update_configuration_item (owned GLib.DBusMethodInvocation invocation);
342                 public static unowned GLib.DBusInterfaceInfo interface_info ();
343                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
344                 [NoAccessorMethod]
345                 public abstract GLib.Variant configuration { owned get; set; }
346                 [NoAccessorMethod]
347                 public abstract string crypto_backing_device { owned get; set; }
348                 [NoAccessorMethod]
349                 public abstract string device { owned get; set; }
350                 [NoAccessorMethod]
351                 public abstract uint64 device_number { get; set; }
352                 [NoAccessorMethod]
353                 public abstract string drive { owned get; set; }
354                 [NoAccessorMethod]
355                 public abstract bool hint_auto { get; set; }
356                 [NoAccessorMethod]
357                 public abstract string hint_icon_name { owned get; set; }
358                 [NoAccessorMethod]
359                 public abstract bool hint_ignore { get; set; }
360                 [NoAccessorMethod]
361                 public abstract string hint_name { owned get; set; }
362                 [NoAccessorMethod]
363                 public abstract bool hint_partitionable { get; set; }
364                 [NoAccessorMethod]
365                 [Version (since = "2.0.0")]
366                 public abstract string hint_symbolic_icon_name { owned get; set; }
367                 [NoAccessorMethod]
368                 public abstract bool hint_system { get; set; }
369                 [NoAccessorMethod]
370                 [Version (since = "2.0.0")]
371                 public abstract string id { owned get; set; }
372                 [NoAccessorMethod]
373                 public abstract string id_label { owned get; set; }
374                 [NoAccessorMethod]
375                 public abstract string id_type { owned get; set; }
376                 [NoAccessorMethod]
377                 public abstract string id_usage { owned get; set; }
378                 [NoAccessorMethod]
379                 public abstract string id_uuid { owned get; set; }
380                 [NoAccessorMethod]
381                 public abstract string id_version { owned get; set; }
382                 [NoAccessorMethod]
383                 [Version (since = "2.0.0")]
384                 public abstract string mdraid { owned get; set; }
385                 [NoAccessorMethod]
386                 [Version (since = "2.0.0")]
387                 public abstract string mdraid_member { owned get; set; }
388                 [NoAccessorMethod]
389                 public abstract string preferred_device { owned get; set; }
390                 [NoAccessorMethod]
391                 public abstract bool read_only { get; set; }
392                 [NoAccessorMethod]
393                 public abstract uint64 size { get; set; }
394                 [CCode (array_length = false, array_null_terminated = true)]
395                 [NoAccessorMethod]
396                 public abstract string[] symlinks { owned get; set; }
397                 public virtual signal bool handle_add_configuration_item (GLib.DBusMethodInvocation invocation, GLib.Variant arg_item, GLib.Variant arg_options);
398                 public virtual signal bool handle_format (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
399                 public virtual signal bool handle_get_secret_configuration (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
400                 public virtual signal bool handle_open_for_backup (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
401                 public virtual signal bool handle_open_for_benchmark (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
402                 public virtual signal bool handle_open_for_restore (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
403                 public virtual signal bool handle_remove_configuration_item (GLib.DBusMethodInvocation invocation, GLib.Variant arg_item, GLib.Variant arg_options);
404                 public virtual signal bool handle_rescan (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
405                 public virtual signal bool handle_update_configuration_item (GLib.DBusMethodInvocation invocation, GLib.Variant arg_old_item, GLib.Variant arg_new_item, GLib.Variant arg_options);
406         }
407         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_get_type ()")]
408         public interface Drive : GLib.Object {
409                 public async bool call_eject (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
410                 public bool call_eject_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
411                 [Version (since = "2.0.0")]
412                 public async bool call_power_off (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
413                 [Version (since = "2.0.0")]
414                 public bool call_power_off_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
415                 public async bool call_set_configuration (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
416                 public bool call_set_configuration_sync (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
417                 public void complete_eject (owned GLib.DBusMethodInvocation invocation);
418                 [Version (since = "2.0.0")]
419                 public void complete_power_off (owned GLib.DBusMethodInvocation invocation);
420                 public void complete_set_configuration (owned GLib.DBusMethodInvocation invocation);
421                 public static unowned GLib.DBusInterfaceInfo interface_info ();
422                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
423                 [NoAccessorMethod]
424                 [Version (since = "2.0.0")]
425                 public abstract bool can_power_off { get; set; }
426                 [NoAccessorMethod]
427                 public abstract GLib.Variant configuration { owned get; set; }
428                 [NoAccessorMethod]
429                 public abstract string connection_bus { owned get; set; }
430                 [NoAccessorMethod]
431                 public abstract bool ejectable { get; set; }
432                 [NoAccessorMethod]
433                 public abstract string id { owned get; set; }
434                 [NoAccessorMethod]
435                 public abstract string media { owned get; set; }
436                 [NoAccessorMethod]
437                 public abstract bool media_available { get; set; }
438                 [NoAccessorMethod]
439                 public abstract bool media_change_detected { get; set; }
440                 [CCode (array_length = false, array_null_terminated = true)]
441                 [NoAccessorMethod]
442                 public abstract string[] media_compatibility { owned get; set; }
443                 [NoAccessorMethod]
444                 public abstract bool media_removable { get; set; }
445                 [NoAccessorMethod]
446                 public abstract string model { owned get; set; }
447                 [NoAccessorMethod]
448                 public abstract bool optical { get; set; }
449                 [NoAccessorMethod]
450                 public abstract bool optical_blank { get; set; }
451                 [NoAccessorMethod]
452                 public abstract uint optical_num_audio_tracks { get; set; }
453                 [NoAccessorMethod]
454                 public abstract uint optical_num_data_tracks { get; set; }
455                 [NoAccessorMethod]
456                 public abstract uint optical_num_sessions { get; set; }
457                 [NoAccessorMethod]
458                 public abstract uint optical_num_tracks { get; set; }
459                 [NoAccessorMethod]
460                 public abstract bool removable { get; set; }
461                 [NoAccessorMethod]
462                 public abstract string revision { owned get; set; }
463                 [NoAccessorMethod]
464                 public abstract int rotation_rate { get; set; }
465                 [NoAccessorMethod]
466                 public abstract string seat { owned get; set; }
467                 [NoAccessorMethod]
468                 public abstract string serial { owned get; set; }
469                 [NoAccessorMethod]
470                 [Version (since = "2.0.0")]
471                 public abstract string sibling_id { owned get; set; }
472                 [NoAccessorMethod]
473                 public abstract uint64 size { get; set; }
474                 [NoAccessorMethod]
475                 public abstract string sort_key { owned get; set; }
476                 [NoAccessorMethod]
477                 public abstract uint64 time_detected { get; set; }
478                 [NoAccessorMethod]
479                 public abstract uint64 time_media_detected { get; set; }
480                 [NoAccessorMethod]
481                 public abstract string vendor { owned get; set; }
482                 [NoAccessorMethod]
483                 public abstract string wwn { owned get; set; }
484                 public virtual signal bool handle_eject (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
485                 [Version (since = "2.0.0")]
486                 public virtual signal bool handle_power_off (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
487                 public virtual signal bool handle_set_configuration (GLib.DBusMethodInvocation invocation, GLib.Variant arg_value, GLib.Variant arg_options);
488         }
489         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_ata_get_type ()")]
490         public interface DriveAta : GLib.Object {
491                 public async bool call_pm_get_state (GLib.Variant arg_options, GLib.Cancellable? cancellable, out uint8 out_state) throws GLib.Error;
492                 public bool call_pm_get_state_sync (GLib.Variant arg_options, out uint8 out_state, GLib.Cancellable? cancellable = null) throws GLib.Error;
493                 public async bool call_pm_standby (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
494                 public bool call_pm_standby_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
495                 public async bool call_pm_wakeup (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
496                 public bool call_pm_wakeup_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
497                 public async bool call_security_erase_unit (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
498                 public bool call_security_erase_unit_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
499                 public async bool call_smart_get_attributes (GLib.Variant arg_options, GLib.Cancellable? cancellable, out GLib.Variant out_attributes) throws GLib.Error;
500                 public bool call_smart_get_attributes_sync (GLib.Variant arg_options, out GLib.Variant out_attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
501                 public async bool call_smart_selftest_abort (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
502                 public bool call_smart_selftest_abort_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
503                 public async bool call_smart_selftest_start (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
504                 public bool call_smart_selftest_start_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
505                 [Version (since = "2.0.0")]
506                 public async bool call_smart_set_enabled (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
507                 [Version (since = "2.0.0")]
508                 public bool call_smart_set_enabled_sync (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
509                 public async bool call_smart_update (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
510                 public bool call_smart_update_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
511                 public void complete_pm_get_state (owned GLib.DBusMethodInvocation invocation, uint8 state);
512                 public void complete_pm_standby (owned GLib.DBusMethodInvocation invocation);
513                 public void complete_pm_wakeup (owned GLib.DBusMethodInvocation invocation);
514                 public void complete_security_erase_unit (owned GLib.DBusMethodInvocation invocation);
515                 public void complete_smart_get_attributes (owned GLib.DBusMethodInvocation invocation, GLib.Variant attributes);
516                 public void complete_smart_selftest_abort (owned GLib.DBusMethodInvocation invocation);
517                 public void complete_smart_selftest_start (owned GLib.DBusMethodInvocation invocation);
518                 [Version (since = "2.0.0")]
519                 public void complete_smart_set_enabled (owned GLib.DBusMethodInvocation invocation);
520                 public void complete_smart_update (owned GLib.DBusMethodInvocation invocation);
521                 public static unowned GLib.DBusInterfaceInfo interface_info ();
522                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
523                 [NoAccessorMethod]
524                 public abstract bool aam_enabled { get; set; }
525                 [NoAccessorMethod]
526                 public abstract bool aam_supported { get; set; }
527                 [NoAccessorMethod]
528                 public abstract int aam_vendor_recommended_value { get; set; }
529                 [NoAccessorMethod]
530                 public abstract bool apm_enabled { get; set; }
531                 [NoAccessorMethod]
532                 public abstract bool apm_supported { get; set; }
533                 [NoAccessorMethod]
534                 public abstract bool pm_enabled { get; set; }
535                 [NoAccessorMethod]
536                 public abstract bool pm_supported { get; set; }
537                 [NoAccessorMethod]
538                 [Version (since = "2.1.7")]
539                 public abstract bool read_lookahead_enabled { get; set; }
540                 [NoAccessorMethod]
541                 [Version (since = "2.1.7")]
542                 public abstract bool read_lookahead_supported { get; set; }
543                 [NoAccessorMethod]
544                 public abstract int security_enhanced_erase_unit_minutes { get; set; }
545                 [NoAccessorMethod]
546                 public abstract int security_erase_unit_minutes { get; set; }
547                 [NoAccessorMethod]
548                 public abstract bool security_frozen { get; set; }
549                 [NoAccessorMethod]
550                 public abstract bool smart_enabled { get; set; }
551                 [NoAccessorMethod]
552                 public abstract bool smart_failing { get; set; }
553                 [NoAccessorMethod]
554                 public abstract int smart_num_attributes_failed_in_the_past { get; set; }
555                 [NoAccessorMethod]
556                 public abstract int smart_num_attributes_failing { get; set; }
557                 [NoAccessorMethod]
558                 public abstract int64 smart_num_bad_sectors { get; set; }
559                 [NoAccessorMethod]
560                 public abstract uint64 smart_power_on_seconds { get; set; }
561                 [NoAccessorMethod]
562                 public abstract int smart_selftest_percent_remaining { get; set; }
563                 [NoAccessorMethod]
564                 public abstract string smart_selftest_status { owned get; set; }
565                 [NoAccessorMethod]
566                 public abstract bool smart_supported { get; set; }
567                 [NoAccessorMethod]
568                 public abstract double smart_temperature { get; set; }
569                 [NoAccessorMethod]
570                 public abstract uint64 smart_updated { get; set; }
571                 [NoAccessorMethod]
572                 [Version (since = "2.0.0")]
573                 public abstract bool write_cache_enabled { get; set; }
574                 [NoAccessorMethod]
575                 [Version (since = "2.0.0")]
576                 public abstract bool write_cache_supported { get; set; }
577                 public virtual signal bool handle_pm_get_state (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
578                 public virtual signal bool handle_pm_standby (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
579                 public virtual signal bool handle_pm_wakeup (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
580                 public virtual signal bool handle_security_erase_unit (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
581                 public virtual signal bool handle_smart_get_attributes (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
582                 public virtual signal bool handle_smart_selftest_abort (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
583                 public virtual signal bool handle_smart_selftest_start (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
584                 [Version (since = "2.0.0")]
585                 public virtual signal bool handle_smart_set_enabled (GLib.DBusMethodInvocation invocation, bool arg_value, GLib.Variant arg_options);
586                 public virtual signal bool handle_smart_update (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
587         }
588         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_encrypted_get_type ()")]
589         public interface Encrypted : GLib.Object {
590                 public async bool call_change_passphrase (string arg_passphrase, string arg_new_passphrase, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
591                 public bool call_change_passphrase_sync (string arg_passphrase, string arg_new_passphrase, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
592                 public async bool call_lock (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
593                 public bool call_lock_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
594                 public async bool call_unlock (string arg_passphrase, GLib.Variant arg_options, GLib.Cancellable? cancellable, out string out_cleartext_device) throws GLib.Error;
595                 public bool call_unlock_sync (string arg_passphrase, GLib.Variant arg_options, out string out_cleartext_device, GLib.Cancellable? cancellable = null) throws GLib.Error;
596                 public void complete_change_passphrase (owned GLib.DBusMethodInvocation invocation);
597                 public void complete_lock (owned GLib.DBusMethodInvocation invocation);
598                 public void complete_unlock (owned GLib.DBusMethodInvocation invocation, string cleartext_device);
599                 public static unowned GLib.DBusInterfaceInfo interface_info ();
600                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
601                 [NoAccessorMethod]
602                 public abstract GLib.Variant child_configuration { owned get; set; }
603                 public virtual signal bool handle_change_passphrase (GLib.DBusMethodInvocation invocation, string arg_passphrase, string arg_new_passphrase, GLib.Variant arg_options);
604                 public virtual signal bool handle_lock (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
605                 public virtual signal bool handle_unlock (GLib.DBusMethodInvocation invocation, string arg_passphrase, GLib.Variant arg_options);
606         }
607         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_filesystem_get_type ()")]
608         public interface Filesystem : GLib.Object {
609                 public async bool call_mount (GLib.Variant arg_options, GLib.Cancellable? cancellable, out string out_mount_path) throws GLib.Error;
610                 public bool call_mount_sync (GLib.Variant arg_options, out string out_mount_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
611                 public async bool call_set_label (string arg_label, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
612                 public bool call_set_label_sync (string arg_label, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
613                 public async bool call_unmount (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
614                 public bool call_unmount_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
615                 public void complete_mount (owned GLib.DBusMethodInvocation invocation, string mount_path);
616                 public void complete_set_label (owned GLib.DBusMethodInvocation invocation);
617                 public void complete_unmount (owned GLib.DBusMethodInvocation invocation);
618                 public static unowned GLib.DBusInterfaceInfo interface_info ();
619                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
620                 [CCode (array_length = false, array_null_terminated = true)]
621                 [NoAccessorMethod]
622                 public abstract string[] mount_points { owned get; set; }
623                 public virtual signal bool handle_mount (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
624                 public virtual signal bool handle_set_label (GLib.DBusMethodInvocation invocation, string arg_label, GLib.Variant arg_options);
625                 public virtual signal bool handle_unmount (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
626         }
627         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_job_get_type ()")]
628         public interface Job : GLib.Object {
629                 public async bool call_cancel (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
630                 public bool call_cancel_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
631                 public void complete_cancel (owned GLib.DBusMethodInvocation invocation);
632                 public void emit_completed (bool arg_success, string arg_message);
633                 public static unowned GLib.DBusInterfaceInfo interface_info ();
634                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
635                 [NoAccessorMethod]
636                 [Version (since = "2.0.0")]
637                 public abstract uint64 bytes { get; set; }
638                 [NoAccessorMethod]
639                 public abstract bool cancelable { get; set; }
640                 [NoAccessorMethod]
641                 public abstract uint64 expected_end_time { get; set; }
642                 [CCode (array_length = false, array_null_terminated = true)]
643                 [NoAccessorMethod]
644                 public abstract string[] objects { owned get; set; }
645                 [NoAccessorMethod]
646                 public abstract string operation { owned get; set; }
647                 [NoAccessorMethod]
648                 public abstract double progress { get; set; }
649                 [NoAccessorMethod]
650                 public abstract bool progress_valid { get; set; }
651                 [NoAccessorMethod]
652                 [Version (since = "2.0.0")]
653                 public abstract uint64 rate { get; set; }
654                 [NoAccessorMethod]
655                 public abstract uint64 start_time { get; set; }
656                 [NoAccessorMethod]
657                 public abstract uint started_by_uid { get; set; }
658                 public virtual signal void completed (bool arg_success, string arg_message);
659                 public virtual signal bool handle_cancel (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
660         }
661         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_loop_get_type ()")]
662         public interface Loop : GLib.Object {
663                 public async bool call_delete (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
664                 public bool call_delete_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
665                 public async bool call_set_autoclear (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
666                 public bool call_set_autoclear_sync (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
667                 public void complete_delete (owned GLib.DBusMethodInvocation invocation);
668                 public void complete_set_autoclear (owned GLib.DBusMethodInvocation invocation);
669                 public static unowned GLib.DBusInterfaceInfo interface_info ();
670                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
671                 [NoAccessorMethod]
672                 public abstract bool autoclear { get; set; }
673                 [NoAccessorMethod]
674                 public abstract string backing_file { owned get; set; }
675                 [NoAccessorMethod]
676                 public abstract uint setup_by_uid { get; set; }
677                 public virtual signal bool handle_delete (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
678                 public virtual signal bool handle_set_autoclear (GLib.DBusMethodInvocation invocation, bool arg_value, GLib.Variant arg_options);
679         }
680         [CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid", type_id = "udisks_mdraid_get_type ()")]
681         [Version (since = "2.0.0")]
682         public interface MDRaid : GLib.Object {
683                 public async bool call_add_device (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
684                 public bool call_add_device_sync (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
685                 public async bool call_delete (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
686                 public bool call_delete_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
687                 public async bool call_remove_device (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
688                 public bool call_remove_device_sync (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
689                 public async bool call_request_sync_action (string arg_sync_action, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
690                 public bool call_request_sync_action_sync (string arg_sync_action, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
691                 public async bool call_set_bitmap_location (string arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
692                 public bool call_set_bitmap_location_sync (string arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
693                 public async bool call_start (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
694                 public bool call_start_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
695                 public async bool call_stop (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
696                 public bool call_stop_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
697                 public void complete_add_device (owned GLib.DBusMethodInvocation invocation);
698                 public void complete_delete (owned GLib.DBusMethodInvocation invocation);
699                 public void complete_remove_device (owned GLib.DBusMethodInvocation invocation);
700                 public void complete_request_sync_action (owned GLib.DBusMethodInvocation invocation);
701                 public void complete_set_bitmap_location (owned GLib.DBusMethodInvocation invocation);
702                 public void complete_start (owned GLib.DBusMethodInvocation invocation);
703                 public void complete_stop (owned GLib.DBusMethodInvocation invocation);
704                 public static unowned GLib.DBusInterfaceInfo interface_info ();
705                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
706                 [NoAccessorMethod]
707                 public abstract GLib.Variant active_devices { owned get; set; }
708                 [NoAccessorMethod]
709                 public abstract string bitmap_location { owned get; set; }
710                 [NoAccessorMethod]
711                 public abstract GLib.Variant child_configuration { owned get; set; }
712                 [NoAccessorMethod]
713                 public abstract uint64 chunk_size { get; set; }
714                 [NoAccessorMethod]
715                 public abstract uint degraded { get; set; }
716                 [NoAccessorMethod]
717                 public abstract string level { owned get; set; }
718                 [NoAccessorMethod]
719                 public abstract string name { owned get; set; }
720                 [NoAccessorMethod]
721                 public abstract uint num_devices { get; set; }
722                 [NoAccessorMethod]
723                 public abstract bool running { get; set; }
724                 [NoAccessorMethod]
725                 public abstract uint64 size { get; set; }
726                 [NoAccessorMethod]
727                 public abstract string sync_action { owned get; set; }
728                 [NoAccessorMethod]
729                 public abstract double sync_completed { get; set; }
730                 [NoAccessorMethod]
731                 public abstract uint64 sync_rate { get; set; }
732                 [NoAccessorMethod]
733                 public abstract uint64 sync_remaining_time { get; set; }
734                 [NoAccessorMethod]
735                 public abstract string uuid { owned get; set; }
736                 public virtual signal bool handle_add_device (GLib.DBusMethodInvocation invocation, string arg_device, GLib.Variant arg_options);
737                 public virtual signal bool handle_delete (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
738                 public virtual signal bool handle_remove_device (GLib.DBusMethodInvocation invocation, string arg_device, GLib.Variant arg_options);
739                 public virtual signal bool handle_request_sync_action (GLib.DBusMethodInvocation invocation, string arg_sync_action, GLib.Variant arg_options);
740                 public virtual signal bool handle_set_bitmap_location (GLib.DBusMethodInvocation invocation, string arg_value, GLib.Variant arg_options);
741                 public virtual signal bool handle_start (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
742                 public virtual signal bool handle_stop (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
743         }
744         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_manager_get_type ()")]
745         public interface Manager : GLib.Object {
746                 public async bool call_enable_modules (bool arg_enable, GLib.Cancellable? cancellable) throws GLib.Error;
747                 public bool call_enable_modules_sync (bool arg_enable, GLib.Cancellable? cancellable = null) throws GLib.Error;
748                 public async bool call_loop_setup (GLib.Variant arg_fd, GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out string out_resulting_device, out GLib.UnixFDList out_fd_list) throws GLib.Error;
749                 public bool call_loop_setup_sync (GLib.Variant arg_fd, GLib.Variant arg_options, GLib.UnixFDList? fd_list, out string out_resulting_device, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
750                 [Version (since = "2.0.0")]
751                 public async bool call_mdraid_create (string arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options, GLib.Cancellable? cancellable, out string out_resulting_array) throws GLib.Error;
752                 [Version (since = "2.0.0")]
753                 public bool call_mdraid_create_sync (string arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options, out string out_resulting_array, GLib.Cancellable? cancellable = null) throws GLib.Error;
754                 public void complete_enable_modules (owned GLib.DBusMethodInvocation invocation);
755                 public void complete_loop_setup (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, string resulting_device);
756                 [Version (since = "2.0.0")]
757                 public void complete_mdraid_create (owned GLib.DBusMethodInvocation invocation, string resulting_array);
758                 public static unowned GLib.DBusInterfaceInfo interface_info ();
759                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
760                 [CCode (array_length = false, array_null_terminated = true)]
761                 [NoAccessorMethod]
762                 public abstract string[] supported_filesystems { owned get; set; }
763                 [NoAccessorMethod]
764                 public abstract string version { owned get; set; }
765                 public virtual signal bool handle_enable_modules (GLib.DBusMethodInvocation invocation, bool arg_enable);
766                 public virtual signal bool handle_loop_setup (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_fd, GLib.Variant arg_options);
767                 [Version (since = "2.0.0")]
768                 public virtual signal bool handle_mdraid_create (GLib.DBusMethodInvocation invocation, [CCode (array_length = false, array_null_terminated = true)] string[] arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options);
769         }
770         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_get_type ()")]
771         public interface Object : GLib.DBusObject, GLib.Object {
772                 public UDisks.Block get_block ();
773                 public UDisks.Drive get_drive ();
774                 public UDisks.DriveAta get_drive_ata ();
775                 public UDisks.Encrypted get_encrypted ();
776                 public UDisks.Filesystem get_filesystem ();
777                 public UDisks.Job get_job ();
778                 public UDisks.Loop get_loop ();
779                 public UDisks.Manager get_manager ();
780                 [Version (since = "2.0.0")]
781                 public UDisks.MDRaid get_mdraid ();
782                 public UDisks.Partition get_partition ();
783                 public UDisks.PartitionTable get_partition_table ();
784                 public UDisks.Swapspace get_swapspace ();
785                 [NoAccessorMethod]
786                 public abstract UDisks.Block block { owned get; set; }
787                 [NoAccessorMethod]
788                 public abstract UDisks.Drive drive { owned get; set; }
789                 [NoAccessorMethod]
790                 public abstract UDisks.DriveAta drive_ata { owned get; set; }
791                 [NoAccessorMethod]
792                 public abstract UDisks.Encrypted encrypted { owned get; set; }
793                 [NoAccessorMethod]
794                 public abstract UDisks.Filesystem filesystem { owned get; set; }
795                 [NoAccessorMethod]
796                 public abstract UDisks.Job job { owned get; set; }
797                 [NoAccessorMethod]
798                 public abstract UDisks.Loop loop { owned get; set; }
799                 [NoAccessorMethod]
800                 public abstract UDisks.Manager manager { owned get; set; }
801                 [NoAccessorMethod]
802                 [Version (since = "2.0.0")]
803                 public abstract UDisks.MDRaid mdraid { owned get; set; }
804                 [NoAccessorMethod]
805                 public abstract UDisks.Partition partition { owned get; set; }
806                 [NoAccessorMethod]
807                 public abstract UDisks.PartitionTable partition_table { owned get; set; }
808                 [NoAccessorMethod]
809                 public abstract UDisks.Swapspace swapspace { owned get; set; }
810         }
811         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_get_type ()")]
812         public interface Partition : GLib.Object {
813                 public async bool call_delete (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
814                 public bool call_delete_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
815                 public async bool call_set_flags (uint64 arg_flags, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
816                 public bool call_set_flags_sync (uint64 arg_flags, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
817                 public async bool call_set_name (string arg_name, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
818                 public bool call_set_name_sync (string arg_name, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
819                 public async bool call_set_type (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
820                 public bool call_set_type_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
821                 public void complete_delete (owned GLib.DBusMethodInvocation invocation);
822                 public void complete_set_flags (owned GLib.DBusMethodInvocation invocation);
823                 public void complete_set_name (owned GLib.DBusMethodInvocation invocation);
824                 public void complete_set_type (owned GLib.DBusMethodInvocation invocation);
825                 public static unowned GLib.DBusInterfaceInfo interface_info ();
826                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
827                 [NoAccessorMethod]
828                 public abstract uint64 flags { get; set; }
829                 [NoAccessorMethod]
830                 public abstract bool is_contained { get; set; }
831                 [NoAccessorMethod]
832                 public abstract bool is_container { get; set; }
833                 [NoAccessorMethod]
834                 public abstract string name { owned get; set; }
835                 [NoAccessorMethod]
836                 public abstract uint number { get; set; }
837                 [NoAccessorMethod]
838                 public abstract uint64 offset { get; set; }
839                 [NoAccessorMethod]
840                 public abstract uint64 size { get; set; }
841                 [NoAccessorMethod]
842                 public abstract string table { owned get; set; }
843                 [NoAccessorMethod]
844                 public abstract string type { owned get; set; }
845                 [NoAccessorMethod]
846                 public abstract string uuid { owned get; set; }
847                 public virtual signal bool handle_delete (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
848                 public virtual signal bool handle_set_flags (GLib.DBusMethodInvocation invocation, uint64 arg_flags, GLib.Variant arg_options);
849                 public virtual signal bool handle_set_name (GLib.DBusMethodInvocation invocation, string arg_name, GLib.Variant arg_options);
850                 public virtual signal bool handle_set_type (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
851         }
852         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_table_get_type ()")]
853         public interface PartitionTable : GLib.Object {
854                 public async bool call_create_partition (uint64 arg_offset, uint64 arg_size, string arg_type, string arg_name, GLib.Variant arg_options, GLib.Cancellable? cancellable, out string out_created_partition) throws GLib.Error;
855                 public async bool call_create_partition_and_format (uint64 arg_offset, uint64 arg_size, string arg_type, string arg_name, GLib.Variant arg_options, string arg_format_type, GLib.Variant arg_format_options, GLib.Cancellable? cancellable, out string out_created_partition) throws GLib.Error;
856                 public bool call_create_partition_and_format_sync (uint64 arg_offset, uint64 arg_size, string arg_type, string arg_name, GLib.Variant arg_options, string arg_format_type, GLib.Variant arg_format_options, out string out_created_partition, GLib.Cancellable? cancellable = null) throws GLib.Error;
857                 public bool call_create_partition_sync (uint64 arg_offset, uint64 arg_size, string arg_type, string arg_name, GLib.Variant arg_options, out string out_created_partition, GLib.Cancellable? cancellable = null) throws GLib.Error;
858                 public void complete_create_partition (owned GLib.DBusMethodInvocation invocation, string created_partition);
859                 public void complete_create_partition_and_format (owned GLib.DBusMethodInvocation invocation, string created_partition);
860                 public static unowned GLib.DBusInterfaceInfo interface_info ();
861                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
862                 [NoAccessorMethod]
863                 public abstract string type { owned get; set; }
864                 public virtual signal bool handle_create_partition (GLib.DBusMethodInvocation invocation, uint64 arg_offset, uint64 arg_size, string arg_type, string arg_name, GLib.Variant arg_options);
865                 public virtual signal bool handle_create_partition_and_format (GLib.DBusMethodInvocation invocation, uint64 arg_offset, uint64 arg_size, string arg_type, string arg_name, GLib.Variant arg_options, string arg_format_type, GLib.Variant arg_format_options);
866         }
867         [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_swapspace_get_type ()")]
868         public interface Swapspace : GLib.Object {
869                 public async bool call_start (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
870                 public bool call_start_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
871                 public async bool call_stop (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
872                 public bool call_stop_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
873                 public void complete_start (owned GLib.DBusMethodInvocation invocation);
874                 public void complete_stop (owned GLib.DBusMethodInvocation invocation);
875                 public static unowned GLib.DBusInterfaceInfo interface_info ();
876                 public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
877                 [NoAccessorMethod]
878                 public abstract bool active { get; set; }
879                 public virtual signal bool handle_start (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
880                 public virtual signal bool handle_stop (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
881         }
882         [CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_PARTITION_TYPE_INFO_FLAGS_", type_id = "udisks_partition_type_info_flags_get_type ()")]
883         [Flags]
884         public enum PartitionTypeInfoFlags {
885                 NONE,
886                 SWAP,
887                 RAID,
888                 HIDDEN,
889                 CREATE_ONLY,
890                 SYSTEM
891         }
892         [CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_ERROR_")]
893         public errordomain Error {
894                 FAILED,
895                 CANCELLED,
896                 ALREADY_CANCELLED,
897                 NOT_AUTHORIZED,
898                 NOT_AUTHORIZED_CAN_OBTAIN,
899                 NOT_AUTHORIZED_DISMISSED,
900                 ALREADY_MOUNTED,
901                 NOT_MOUNTED,
902                 OPTION_NOT_PERMITTED,
903                 MOUNTED_BY_OTHER_USER,
904                 ALREADY_UNMOUNTING,
905                 NOT_SUPPORTED,
906                 TIMED_OUT,
907                 WOULD_WAKEUP,
908                 DEVICE_BUSY,
909                 ISCSI_DAEMON_TRANSPORT_FAILED,
910                 ISCSI_HOST_NOT_FOUND,
911                 ISCSI_IDMB,
912                 ISCSI_LOGIN_FAILED,
913                 ISCSI_LOGIN_AUTH_FAILED,
914                 ISCSI_LOGIN_FATAL,
915                 ISCSI_LOGOUT_FAILED,
916                 ISCSI_NO_FIRMWARE,
917                 ISCSI_NO_OBJECTS_FOUND,
918                 ISCSI_NOT_CONNECTED,
919                 ISCSI_TRANSPORT_FAILED,
920                 ISCSI_UNKNOWN_DISCOVERY_TYPE;
921                 public static GLib.Quark quark ();
922         }
923         [CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_ERROR_NUM_ENTRIES")]
924         public const int ERROR_NUM_ENTRIES;
925         [CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_MAJOR_VERSION")]
926         public const int MAJOR_VERSION;
927         [CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_MICRO_VERSION")]
928         public const int MICRO_VERSION;
929         [CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_MINOR_VERSION")]
930         public const int MINOR_VERSION;
931         [CCode (cheader_filename = "udisks/udisks.h")]
932         public static unowned GLib.DBusInterfaceInfo block_interface_info ();
933         [CCode (cheader_filename = "udisks/udisks.h")]
934         public static uint block_override_properties (GLib.ObjectClass klass, uint property_id_begin);
935         [CCode (cheader_filename = "udisks/udisks.h")]
936         public static unowned GLib.DBusInterfaceInfo drive_ata_interface_info ();
937         [CCode (cheader_filename = "udisks/udisks.h")]
938         public static uint drive_ata_override_properties (GLib.ObjectClass klass, uint property_id_begin);
939         [CCode (cheader_filename = "udisks/udisks.h")]
940         public static unowned GLib.DBusInterfaceInfo drive_interface_info ();
941         [CCode (cheader_filename = "udisks/udisks.h")]
942         public static uint drive_override_properties (GLib.ObjectClass klass, uint property_id_begin);
943         [CCode (cheader_filename = "udisks/udisks.h")]
944         public static unowned GLib.DBusInterfaceInfo encrypted_interface_info ();
945         [CCode (cheader_filename = "udisks/udisks.h")]
946         public static uint encrypted_override_properties (GLib.ObjectClass klass, uint property_id_begin);
947         [CCode (cheader_filename = "udisks/udisks.h")]
948         public static unowned GLib.DBusInterfaceInfo filesystem_interface_info ();
949         [CCode (cheader_filename = "udisks/udisks.h")]
950         public static uint filesystem_override_properties (GLib.ObjectClass klass, uint property_id_begin);
951         [CCode (cheader_filename = "udisks/udisks.h")]
952         public static unowned GLib.DBusInterfaceInfo job_interface_info ();
953         [CCode (cheader_filename = "udisks/udisks.h")]
954         public static uint job_override_properties (GLib.ObjectClass klass, uint property_id_begin);
955         [CCode (cheader_filename = "udisks/udisks.h")]
956         public static unowned GLib.DBusInterfaceInfo loop_interface_info ();
957         [CCode (cheader_filename = "udisks/udisks.h")]
958         public static uint loop_override_properties (GLib.ObjectClass klass, uint property_id_begin);
959         [CCode (cheader_filename = "udisks/udisks.h")]
960         public static unowned GLib.DBusInterfaceInfo manager_interface_info ();
961         [CCode (cheader_filename = "udisks/udisks.h")]
962         public static uint manager_override_properties (GLib.ObjectClass klass, uint property_id_begin);
963         [CCode (cheader_filename = "udisks/udisks.h")]
964         [Version (since = "2.0.0")]
965         public static unowned GLib.DBusInterfaceInfo mdraid_interface_info ();
966         [CCode (cheader_filename = "udisks/udisks.h")]
967         [Version (since = "2.0.0")]
968         public static uint mdraid_override_properties (GLib.ObjectClass klass, uint property_id_begin);
969         [CCode (cheader_filename = "udisks/udisks.h")]
970         public static unowned GLib.DBusInterfaceInfo partition_interface_info ();
971         [CCode (cheader_filename = "udisks/udisks.h")]
972         public static uint partition_override_properties (GLib.ObjectClass klass, uint property_id_begin);
973         [CCode (cheader_filename = "udisks/udisks.h")]
974         public static unowned GLib.DBusInterfaceInfo partition_table_interface_info ();
975         [CCode (cheader_filename = "udisks/udisks.h")]
976         public static uint partition_table_override_properties (GLib.ObjectClass klass, uint property_id_begin);
977         [CCode (cheader_filename = "udisks/udisks.h")]
978         public static unowned GLib.DBusInterfaceInfo swapspace_interface_info ();
979         [CCode (cheader_filename = "udisks/udisks.h")]
980         public static uint swapspace_override_properties (GLib.ObjectClass klass, uint property_id_begin);