summaryrefslogtreecommitdiff
path: root/vapi/udisks2.vapi
blob: a3ea771170c198d6d4d375720dc1745eb8af6956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
/* udisks2.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "UDisks", gir_namespace = "UDisks", gir_version = "2.0", lower_case_cprefix = "udisks_")]
namespace UDisks {
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_block_proxy_get_type ()")]
	public class BlockProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Block {
		[CCode (cname = "udisks_block_proxy_new", has_construct_function = false)]
		public async BlockProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_block_proxy_new_for_bus", has_construct_function = false)]
		public async BlockProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksBlock*")]
		public BlockProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksBlock*")]
		public BlockProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_block_skeleton_get_type ()")]
	public class BlockSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Block {
		[CCode (has_construct_function = false, type = "UDisksBlock*")]
		public BlockSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_client_get_type ()")]
	public sealed class Client : GLib.Object, GLib.AsyncInitable, GLib.Initable {
		[CCode (cname = "udisks_client_new", has_construct_function = false)]
		public async Client (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "2.1")]
		public GLib.List<UDisks.Block> get_all_blocks_for_mdraid (UDisks.MDRaid raid);
		public UDisks.Block get_block_for_dev (uint64 block_device_number);
		public UDisks.Block get_block_for_drive (UDisks.Drive drive, bool get_physical);
		public GLib.List<UDisks.Block> get_block_for_label (string label);
		[Version (since = "2.1")]
		public UDisks.Block get_block_for_mdraid (UDisks.MDRaid raid);
		public GLib.List<UDisks.Block> get_block_for_uuid (string uuid);
		public UDisks.Block get_cleartext_block (UDisks.Block block);
		public UDisks.Drive get_drive_for_block (UDisks.Block block);
		[Version (deprecated = true, deprecated_since = "2.1")]
		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);
		[Version (since = "2.1")]
		public GLib.List<UDisks.Drive> get_drive_siblings (UDisks.Drive drive);
		public string get_id_for_display (string usage, string type, string version, bool long_string);
		public string get_job_description (UDisks.Job job);
		public GLib.List<UDisks.Job> get_jobs_for_object (UDisks.Object object);
		public UDisks.Loop get_loop_for_block (UDisks.Block block);
		public unowned UDisks.Manager get_manager ();
		[Version (since = "2.1")]
		public UDisks.MDRaid get_mdraid_for_block (UDisks.Block block);
		public string get_media_compat_for_display (string media_compat);
		[Version (since = "2.1")]
		public GLib.List<UDisks.Block> get_members_for_mdraid (UDisks.MDRaid raid);
		public UDisks.Object get_object (string object_path);
		[Version (since = "2.1")]
		public UDisks.ObjectInfo get_object_info (UDisks.Object object);
		public unowned GLib.DBusObjectManager get_object_manager ();
		public string get_partition_info (UDisks.Partition partition);
		public UDisks.PartitionTable get_partition_table (UDisks.Partition partition);
		public unowned string get_partition_table_subtype_for_display (string partition_table_type, string partition_table_subtype);
		[CCode (array_length = false, array_null_terminated = true)]
		public (unowned string)[] get_partition_table_subtypes (string partition_table_type);
		public unowned string get_partition_table_type_for_display (string partition_table_type);
		[Version (since = "2.1.1")]
		public unowned string get_partition_type_and_subtype_for_display (string partition_table_type, string partition_table_subtype, string partition_type);
		public unowned string get_partition_type_for_display (string partition_table_type, string partition_type);
		public GLib.List<UDisks.PartitionTypeInfo> get_partition_type_infos (string partition_table_type, string? partition_table_subtype);
		public GLib.List<UDisks.Partition> get_partitions (UDisks.PartitionTable table);
		public string get_size_for_display (uint64 size, bool use_pow2, bool long_string);
		public unowned UDisks.Object peek_object (string object_path);
		[Version (since = "2.1")]
		public void queue_changed ();
		public void settle ();
		[CCode (has_construct_function = false)]
		public Client.sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public UDisks.Manager manager { get; }
		public GLib.DBusObjectManager object_manager { get; }
		public signal void changed ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_ata_proxy_get_type ()")]
	public class DriveAtaProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.DriveAta {
		[CCode (cname = "udisks_drive_ata_proxy_new", has_construct_function = false)]
		public async DriveAtaProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_drive_ata_proxy_new_for_bus", has_construct_function = false)]
		public async DriveAtaProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksDriveAta*")]
		public DriveAtaProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksDriveAta*")]
		public DriveAtaProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_ata_skeleton_get_type ()")]
	public class DriveAtaSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.DriveAta {
		[CCode (has_construct_function = false, type = "UDisksDriveAta*")]
		public DriveAtaSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_proxy_get_type ()")]
	public class DriveProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Drive {
		[CCode (cname = "udisks_drive_proxy_new", has_construct_function = false)]
		public async DriveProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_drive_proxy_new_for_bus", has_construct_function = false)]
		public async DriveProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksDrive*")]
		public DriveProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksDrive*")]
		public DriveProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_skeleton_get_type ()")]
	public class DriveSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Drive {
		[CCode (has_construct_function = false, type = "UDisksDrive*")]
		public DriveSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_encrypted_proxy_get_type ()")]
	public class EncryptedProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Encrypted {
		[CCode (cname = "udisks_encrypted_proxy_new", has_construct_function = false)]
		public async EncryptedProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_encrypted_proxy_new_for_bus", has_construct_function = false)]
		public async EncryptedProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksEncrypted*")]
		public EncryptedProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksEncrypted*")]
		public EncryptedProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_encrypted_skeleton_get_type ()")]
	public class EncryptedSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Encrypted {
		[CCode (has_construct_function = false, type = "UDisksEncrypted*")]
		public EncryptedSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_filesystem_proxy_get_type ()")]
	public class FilesystemProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Filesystem {
		[CCode (cname = "udisks_filesystem_proxy_new", has_construct_function = false)]
		public async FilesystemProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_filesystem_proxy_new_for_bus", has_construct_function = false)]
		public async FilesystemProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksFilesystem*")]
		public FilesystemProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksFilesystem*")]
		public FilesystemProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_filesystem_skeleton_get_type ()")]
	public class FilesystemSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Filesystem {
		[CCode (has_construct_function = false, type = "UDisksFilesystem*")]
		public FilesystemSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_job_proxy_get_type ()")]
	public class JobProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Job {
		[CCode (cname = "udisks_job_proxy_new", has_construct_function = false)]
		public async JobProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_job_proxy_new_for_bus", has_construct_function = false)]
		public async JobProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksJob*")]
		public JobProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksJob*")]
		public JobProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_job_skeleton_get_type ()")]
	public class JobSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Job {
		[CCode (has_construct_function = false, type = "UDisksJob*")]
		public JobSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_loop_proxy_get_type ()")]
	public class LoopProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Loop {
		[CCode (cname = "udisks_loop_proxy_new", has_construct_function = false)]
		public async LoopProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_loop_proxy_new_for_bus", has_construct_function = false)]
		public async LoopProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksLoop*")]
		public LoopProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksLoop*")]
		public LoopProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_loop_skeleton_get_type ()")]
	public class LoopSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Loop {
		[CCode (has_construct_function = false, type = "UDisksLoop*")]
		public LoopSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid_proxy", type_id = "udisks_mdraid_proxy_get_type ()")]
	[Version (since = "2.0.0")]
	public class MDRaidProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.MDRaid {
		[CCode (cname = "udisks_mdraid_proxy_new", has_construct_function = false)]
		public async MDRaidProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_mdraid_proxy_new_for_bus", has_construct_function = false)]
		public async MDRaidProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksMDRaid*")]
		public MDRaidProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksMDRaid*")]
		public MDRaidProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid_skeleton", type_id = "udisks_mdraid_skeleton_get_type ()")]
	[Version (since = "2.0.0")]
	public class MDRaidSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.MDRaid {
		[CCode (has_construct_function = false, type = "UDisksMDRaid*")]
		public MDRaidSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_manager_proxy_get_type ()")]
	public class ManagerProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Manager {
		[CCode (cname = "udisks_manager_proxy_new", has_construct_function = false)]
		public async ManagerProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_manager_proxy_new_for_bus", has_construct_function = false)]
		public async ManagerProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksManager*")]
		public ManagerProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksManager*")]
		public ManagerProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_manager_skeleton_get_type ()")]
	public class ManagerSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Manager {
		[CCode (has_construct_function = false, type = "UDisksManager*")]
		public ManagerSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_info_get_type ()")]
	[Version (since = "2.1")]
	public sealed class ObjectInfo : GLib.Object {
		[CCode (has_construct_function = false)]
		protected ObjectInfo ();
		public unowned string get_description ();
		public unowned GLib.Icon get_icon ();
		public unowned GLib.Icon get_icon_symbolic ();
		public unowned string get_media_description ();
		public unowned GLib.Icon get_media_icon ();
		public unowned GLib.Icon get_media_icon_symbolic ();
		public unowned string get_name ();
		public unowned UDisks.Object get_object ();
		public unowned string get_one_liner ();
		public unowned string get_sort_key ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_manager_client_get_type ()")]
	public class ObjectManagerClient : GLib.DBusObjectManagerClient, GLib.AsyncInitable, GLib.DBusObjectManager, GLib.Initable {
		[CCode (cname = "udisks_object_manager_client_new", has_construct_function = false)]
		public async ObjectManagerClient (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_object_manager_client_new_for_bus", has_construct_function = false)]
		public async ObjectManagerClient.for_bus (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "GDBusObjectManager*")]
		public ObjectManagerClient.for_bus_sync (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public static GLib.Type get_proxy_type (GLib.DBusObjectManagerClient manager, string object_path, string? interface_name, void* user_data);
		[CCode (has_construct_function = false, type = "GDBusObjectManager*")]
		public ObjectManagerClient.sync (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_proxy_get_type ()")]
	public class ObjectProxy : GLib.DBusObjectProxy, GLib.DBusObject, UDisks.Object {
		[CCode (has_construct_function = false)]
		public ObjectProxy (GLib.DBusConnection connection, string object_path);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_skeleton_get_type ()")]
	public class ObjectSkeleton : GLib.DBusObjectSkeleton, GLib.DBusObject, UDisks.Object {
		[CCode (has_construct_function = false)]
		public ObjectSkeleton (string object_path);
		public void set_block (UDisks.Block? interface_);
		public void set_drive (UDisks.Drive? interface_);
		public void set_drive_ata (UDisks.DriveAta? interface_);
		public void set_encrypted (UDisks.Encrypted? interface_);
		public void set_filesystem (UDisks.Filesystem? interface_);
		public void set_job (UDisks.Job? interface_);
		public void set_loop (UDisks.Loop? interface_);
		public void set_manager (UDisks.Manager? interface_);
		[Version (since = "2.0.0")]
		public void set_mdraid (UDisks.MDRaid? interface_);
		public void set_partition (UDisks.Partition? interface_);
		public void set_partition_table (UDisks.PartitionTable? interface_);
		public void set_swapspace (UDisks.Swapspace? interface_);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_proxy_get_type ()")]
	public class PartitionProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Partition {
		[CCode (cname = "udisks_partition_proxy_new", has_construct_function = false)]
		public async PartitionProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_partition_proxy_new_for_bus", has_construct_function = false)]
		public async PartitionProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksPartition*")]
		public PartitionProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksPartition*")]
		public PartitionProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_skeleton_get_type ()")]
	public class PartitionSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Partition {
		[CCode (has_construct_function = false, type = "UDisksPartition*")]
		public PartitionSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_table_proxy_get_type ()")]
	public class PartitionTableProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.PartitionTable {
		[CCode (cname = "udisks_partition_table_proxy_new", has_construct_function = false)]
		public async PartitionTableProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_partition_table_proxy_new_for_bus", has_construct_function = false)]
		public async PartitionTableProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksPartitionTable*")]
		public PartitionTableProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksPartitionTable*")]
		public PartitionTableProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_table_skeleton_get_type ()")]
	public class PartitionTableSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.PartitionTable {
		[CCode (has_construct_function = false, type = "UDisksPartitionTable*")]
		public PartitionTableSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "udisks_partition_type_info_get_type ()")]
	[Compact]
	public class PartitionTypeInfo {
		public UDisks.PartitionTypeInfoFlags flags;
		public weak string table_subtype;
		public weak string table_type;
		public weak string type;
		public void free ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_swapspace_proxy_get_type ()")]
	public class SwapspaceProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Swapspace {
		[CCode (cname = "udisks_swapspace_proxy_new", has_construct_function = false)]
		public async SwapspaceProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "udisks_swapspace_proxy_new_for_bus", has_construct_function = false)]
		public async SwapspaceProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksSwapspace*")]
		public SwapspaceProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "UDisksSwapspace*")]
		public SwapspaceProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_swapspace_skeleton_get_type ()")]
	public class SwapspaceSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.Swapspace {
		[CCode (has_construct_function = false, type = "UDisksSwapspace*")]
		public SwapspaceSkeleton ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_block_get_type ()")]
	public interface Block : GLib.Object {
		public async bool call_add_configuration_item (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_add_configuration_item_sync (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_format (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_format_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (async_result_pos = 2.1)]
		public async bool call_get_secret_configuration (GLib.Variant arg_options, GLib.Cancellable? cancellable, out GLib.Variant out_configuration) throws GLib.Error;
		public bool call_get_secret_configuration_sync (GLib.Variant arg_options, out GLib.Variant out_configuration, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (async_result_pos = 3.1)]
		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;
		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;
		[CCode (async_result_pos = 3.1)]
		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;
		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;
		[CCode (async_result_pos = 3.1)]
		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;
		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;
		public async bool call_remove_configuration_item (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_remove_configuration_item_sync (GLib.Variant arg_item, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_rescan (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_rescan_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		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;
		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;
		public void complete_add_configuration_item (owned GLib.DBusMethodInvocation invocation);
		public void complete_format (owned GLib.DBusMethodInvocation invocation);
		public void complete_get_secret_configuration (owned GLib.DBusMethodInvocation invocation, GLib.Variant configuration);
		public void complete_open_for_backup (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
		public void complete_open_for_benchmark (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
		public void complete_open_for_restore (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant fd);
		public void complete_remove_configuration_item (owned GLib.DBusMethodInvocation invocation);
		public void complete_rescan (owned GLib.DBusMethodInvocation invocation);
		public void complete_update_configuration_item (owned GLib.DBusMethodInvocation invocation);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract GLib.Variant configuration { owned get; set; }
		[NoAccessorMethod]
		public abstract string crypto_backing_device { owned get; set; }
		[NoAccessorMethod]
		public abstract string device { owned get; set; }
		[NoAccessorMethod]
		public abstract uint64 device_number { get; set; }
		[NoAccessorMethod]
		public abstract string drive { owned get; set; }
		[NoAccessorMethod]
		public abstract bool hint_auto { get; set; }
		[NoAccessorMethod]
		public abstract string hint_icon_name { owned get; set; }
		[NoAccessorMethod]
		public abstract bool hint_ignore { get; set; }
		[NoAccessorMethod]
		public abstract string hint_name { owned get; set; }
		[NoAccessorMethod]
		public abstract bool hint_partitionable { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract string hint_symbolic_icon_name { owned get; set; }
		[NoAccessorMethod]
		public abstract bool hint_system { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract string id { owned get; set; }
		[NoAccessorMethod]
		public abstract string id_label { owned get; set; }
		[NoAccessorMethod]
		public abstract string id_type { owned get; set; }
		[NoAccessorMethod]
		public abstract string id_usage { owned get; set; }
		[NoAccessorMethod]
		public abstract string id_uuid { owned get; set; }
		[NoAccessorMethod]
		public abstract string id_version { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract string mdraid { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract string mdraid_member { owned get; set; }
		[NoAccessorMethod]
		public abstract string preferred_device { owned get; set; }
		[NoAccessorMethod]
		public abstract bool read_only { get; set; }
		[NoAccessorMethod]
		public abstract uint64 size { get; set; }
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		public abstract string[] symlinks { owned get; set; }
		public virtual signal bool handle_add_configuration_item (GLib.DBusMethodInvocation invocation, GLib.Variant arg_item, GLib.Variant arg_options);
		public virtual signal bool handle_format (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
		public virtual signal bool handle_get_secret_configuration (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_open_for_backup (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
		public virtual signal bool handle_open_for_benchmark (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
		public virtual signal bool handle_open_for_restore (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_options);
		public virtual signal bool handle_remove_configuration_item (GLib.DBusMethodInvocation invocation, GLib.Variant arg_item, GLib.Variant arg_options);
		public virtual signal bool handle_rescan (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		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);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_get_type ()")]
	public interface Drive : GLib.Object {
		public async bool call_eject (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_eject_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.0")]
		public async bool call_power_off (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "2.0.0")]
		public bool call_power_off_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_set_configuration (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_set_configuration_sync (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_eject (owned GLib.DBusMethodInvocation invocation);
		[Version (since = "2.0.0")]
		public void complete_power_off (owned GLib.DBusMethodInvocation invocation);
		public void complete_set_configuration (owned GLib.DBusMethodInvocation invocation);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract bool can_power_off { get; set; }
		[NoAccessorMethod]
		public abstract GLib.Variant configuration { owned get; set; }
		[NoAccessorMethod]
		public abstract string connection_bus { owned get; set; }
		[NoAccessorMethod]
		public abstract bool ejectable { get; set; }
		[NoAccessorMethod]
		public abstract string id { owned get; set; }
		[NoAccessorMethod]
		public abstract string media { owned get; set; }
		[NoAccessorMethod]
		public abstract bool media_available { get; set; }
		[NoAccessorMethod]
		public abstract bool media_change_detected { get; set; }
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		public abstract string[] media_compatibility { owned get; set; }
		[NoAccessorMethod]
		public abstract bool media_removable { get; set; }
		[NoAccessorMethod]
		public abstract string model { owned get; set; }
		[NoAccessorMethod]
		public abstract bool optical { get; set; }
		[NoAccessorMethod]
		public abstract bool optical_blank { get; set; }
		[NoAccessorMethod]
		public abstract uint optical_num_audio_tracks { get; set; }
		[NoAccessorMethod]
		public abstract uint optical_num_data_tracks { get; set; }
		[NoAccessorMethod]
		public abstract uint optical_num_sessions { get; set; }
		[NoAccessorMethod]
		public abstract uint optical_num_tracks { get; set; }
		[NoAccessorMethod]
		public abstract bool removable { get; set; }
		[NoAccessorMethod]
		public abstract string revision { owned get; set; }
		[NoAccessorMethod]
		public abstract int rotation_rate { get; set; }
		[NoAccessorMethod]
		public abstract string seat { owned get; set; }
		[NoAccessorMethod]
		public abstract string serial { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract string sibling_id { owned get; set; }
		[NoAccessorMethod]
		public abstract uint64 size { get; set; }
		[NoAccessorMethod]
		public abstract string sort_key { owned get; set; }
		[NoAccessorMethod]
		public abstract uint64 time_detected { get; set; }
		[NoAccessorMethod]
		public abstract uint64 time_media_detected { get; set; }
		[NoAccessorMethod]
		public abstract string vendor { owned get; set; }
		[NoAccessorMethod]
		public abstract string wwn { owned get; set; }
		public virtual signal bool handle_eject (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		[Version (since = "2.0.0")]
		public virtual signal bool handle_power_off (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_set_configuration (GLib.DBusMethodInvocation invocation, GLib.Variant arg_value, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_ata_get_type ()")]
	public interface DriveAta : GLib.Object {
		[CCode (async_result_pos = 2.1)]
		public async bool call_pm_get_state (GLib.Variant arg_options, GLib.Cancellable? cancellable, out uint8 out_state) throws GLib.Error;
		public bool call_pm_get_state_sync (GLib.Variant arg_options, out uint8 out_state, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_pm_standby (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_pm_standby_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_pm_wakeup (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_pm_wakeup_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_security_erase_unit (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_security_erase_unit_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (async_result_pos = 2.1)]
		public async bool call_smart_get_attributes (GLib.Variant arg_options, GLib.Cancellable? cancellable, out GLib.Variant out_attributes) throws GLib.Error;
		public bool call_smart_get_attributes_sync (GLib.Variant arg_options, out GLib.Variant out_attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_smart_selftest_abort (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_smart_selftest_abort_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_smart_selftest_start (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_smart_selftest_start_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.0")]
		public async bool call_smart_set_enabled (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "2.0.0")]
		public bool call_smart_set_enabled_sync (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_smart_update (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_smart_update_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_pm_get_state (owned GLib.DBusMethodInvocation invocation, uint8 state);
		public void complete_pm_standby (owned GLib.DBusMethodInvocation invocation);
		public void complete_pm_wakeup (owned GLib.DBusMethodInvocation invocation);
		public void complete_security_erase_unit (owned GLib.DBusMethodInvocation invocation);
		public void complete_smart_get_attributes (owned GLib.DBusMethodInvocation invocation, GLib.Variant attributes);
		public void complete_smart_selftest_abort (owned GLib.DBusMethodInvocation invocation);
		public void complete_smart_selftest_start (owned GLib.DBusMethodInvocation invocation);
		[Version (since = "2.0.0")]
		public void complete_smart_set_enabled (owned GLib.DBusMethodInvocation invocation);
		public void complete_smart_update (owned GLib.DBusMethodInvocation invocation);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract bool aam_enabled { get; set; }
		[NoAccessorMethod]
		public abstract bool aam_supported { get; set; }
		[NoAccessorMethod]
		public abstract int aam_vendor_recommended_value { get; set; }
		[NoAccessorMethod]
		public abstract bool apm_enabled { get; set; }
		[NoAccessorMethod]
		public abstract bool apm_supported { get; set; }
		[NoAccessorMethod]
		public abstract bool pm_enabled { get; set; }
		[NoAccessorMethod]
		public abstract bool pm_supported { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.1.7")]
		public abstract bool read_lookahead_enabled { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.1.7")]
		public abstract bool read_lookahead_supported { get; set; }
		[NoAccessorMethod]
		public abstract int security_enhanced_erase_unit_minutes { get; set; }
		[NoAccessorMethod]
		public abstract int security_erase_unit_minutes { get; set; }
		[NoAccessorMethod]
		public abstract bool security_frozen { get; set; }
		[NoAccessorMethod]
		public abstract bool smart_enabled { get; set; }
		[NoAccessorMethod]
		public abstract bool smart_failing { get; set; }
		[NoAccessorMethod]
		public abstract int smart_num_attributes_failed_in_the_past { get; set; }
		[NoAccessorMethod]
		public abstract int smart_num_attributes_failing { get; set; }
		[NoAccessorMethod]
		public abstract int64 smart_num_bad_sectors { get; set; }
		[NoAccessorMethod]
		public abstract uint64 smart_power_on_seconds { get; set; }
		[NoAccessorMethod]
		public abstract int smart_selftest_percent_remaining { get; set; }
		[NoAccessorMethod]
		public abstract string smart_selftest_status { owned get; set; }
		[NoAccessorMethod]
		public abstract bool smart_supported { get; set; }
		[NoAccessorMethod]
		public abstract double smart_temperature { get; set; }
		[NoAccessorMethod]
		public abstract uint64 smart_updated { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract bool write_cache_enabled { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract bool write_cache_supported { get; set; }
		public virtual signal bool handle_pm_get_state (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_pm_standby (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_pm_wakeup (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_security_erase_unit (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_smart_get_attributes (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_smart_selftest_abort (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_smart_selftest_start (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
		[Version (since = "2.0.0")]
		public virtual signal bool handle_smart_set_enabled (GLib.DBusMethodInvocation invocation, bool arg_value, GLib.Variant arg_options);
		public virtual signal bool handle_smart_update (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_encrypted_get_type ()")]
	public interface Encrypted : GLib.Object {
		public async bool call_change_passphrase (string arg_passphrase, string arg_new_passphrase, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_change_passphrase_sync (string arg_passphrase, string arg_new_passphrase, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_lock (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_lock_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (async_result_pos = 2.1)]
		public async bool call_unlock (string arg_passphrase, GLib.Variant arg_options, GLib.Cancellable? cancellable, out string out_cleartext_device) throws GLib.Error;
		public bool call_unlock_sync (string arg_passphrase, GLib.Variant arg_options, out string out_cleartext_device, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_change_passphrase (owned GLib.DBusMethodInvocation invocation);
		public void complete_lock (owned GLib.DBusMethodInvocation invocation);
		public void complete_unlock (owned GLib.DBusMethodInvocation invocation, string cleartext_device);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract GLib.Variant child_configuration { owned get; set; }
		public virtual signal bool handle_change_passphrase (GLib.DBusMethodInvocation invocation, string arg_passphrase, string arg_new_passphrase, GLib.Variant arg_options);
		public virtual signal bool handle_lock (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_unlock (GLib.DBusMethodInvocation invocation, string arg_passphrase, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_filesystem_get_type ()")]
	public interface Filesystem : GLib.Object {
		[CCode (async_result_pos = 2.1)]
		public async bool call_mount (GLib.Variant arg_options, GLib.Cancellable? cancellable, out string out_mount_path) throws GLib.Error;
		public bool call_mount_sync (GLib.Variant arg_options, out string out_mount_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_set_label (string arg_label, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_set_label_sync (string arg_label, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_unmount (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_unmount_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_mount (owned GLib.DBusMethodInvocation invocation, string mount_path);
		public void complete_set_label (owned GLib.DBusMethodInvocation invocation);
		public void complete_unmount (owned GLib.DBusMethodInvocation invocation);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		public abstract string[] mount_points { owned get; set; }
		public virtual signal bool handle_mount (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_set_label (GLib.DBusMethodInvocation invocation, string arg_label, GLib.Variant arg_options);
		public virtual signal bool handle_unmount (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_job_get_type ()")]
	public interface Job : GLib.Object {
		public async bool call_cancel (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_cancel_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_cancel (owned GLib.DBusMethodInvocation invocation);
		public void emit_completed (bool arg_success, string arg_message);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract uint64 bytes { get; set; }
		[NoAccessorMethod]
		public abstract bool cancelable { get; set; }
		[NoAccessorMethod]
		public abstract uint64 expected_end_time { get; set; }
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		public abstract string[] objects { owned get; set; }
		[NoAccessorMethod]
		public abstract string operation { owned get; set; }
		[NoAccessorMethod]
		public abstract double progress { get; set; }
		[NoAccessorMethod]
		public abstract bool progress_valid { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract uint64 rate { get; set; }
		[NoAccessorMethod]
		public abstract uint64 start_time { get; set; }
		[NoAccessorMethod]
		public abstract uint started_by_uid { get; set; }
		public virtual signal void completed (bool arg_success, string arg_message);
		public virtual signal bool handle_cancel (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_loop_get_type ()")]
	public interface Loop : GLib.Object {
		public async bool call_delete (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_delete_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_set_autoclear (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_set_autoclear_sync (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_delete (owned GLib.DBusMethodInvocation invocation);
		public void complete_set_autoclear (owned GLib.DBusMethodInvocation invocation);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract bool autoclear { get; set; }
		[NoAccessorMethod]
		public abstract string backing_file { owned get; set; }
		[NoAccessorMethod]
		public abstract uint setup_by_uid { get; set; }
		public virtual signal bool handle_delete (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_set_autoclear (GLib.DBusMethodInvocation invocation, bool arg_value, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid", type_id = "udisks_mdraid_get_type ()")]
	[Version (since = "2.0.0")]
	public interface MDRaid : GLib.Object {
		public async bool call_add_device (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_add_device_sync (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_delete (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_delete_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_remove_device (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_remove_device_sync (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_request_sync_action (string arg_sync_action, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_request_sync_action_sync (string arg_sync_action, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_set_bitmap_location (string arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_set_bitmap_location_sync (string arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_start (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_start_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_stop (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_stop_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_add_device (owned GLib.DBusMethodInvocation invocation);
		public void complete_delete (owned GLib.DBusMethodInvocation invocation);
		public void complete_remove_device (owned GLib.DBusMethodInvocation invocation);
		public void complete_request_sync_action (owned GLib.DBusMethodInvocation invocation);
		public void complete_set_bitmap_location (owned GLib.DBusMethodInvocation invocation);
		public void complete_start (owned GLib.DBusMethodInvocation invocation);
		public void complete_stop (owned GLib.DBusMethodInvocation invocation);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract GLib.Variant active_devices { owned get; set; }
		[NoAccessorMethod]
		public abstract string bitmap_location { owned get; set; }
		[NoAccessorMethod]
		public abstract GLib.Variant child_configuration { owned get; set; }
		[NoAccessorMethod]
		public abstract uint64 chunk_size { get; set; }
		[NoAccessorMethod]
		public abstract uint degraded { get; set; }
		[NoAccessorMethod]
		public abstract string level { owned get; set; }
		[NoAccessorMethod]
		public abstract string name { owned get; set; }
		[NoAccessorMethod]
		public abstract uint num_devices { get; set; }
		[NoAccessorMethod]
		public abstract bool running { get; set; }
		[NoAccessorMethod]
		public abstract uint64 size { get; set; }
		[NoAccessorMethod]
		public abstract string sync_action { owned get; set; }
		[NoAccessorMethod]
		public abstract double sync_completed { get; set; }
		[NoAccessorMethod]
		public abstract uint64 sync_rate { get; set; }
		[NoAccessorMethod]
		public abstract uint64 sync_remaining_time { get; set; }
		[NoAccessorMethod]
		public abstract string uuid { owned get; set; }
		public virtual signal bool handle_add_device (GLib.DBusMethodInvocation invocation, string arg_device, GLib.Variant arg_options);
		public virtual signal bool handle_delete (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_remove_device (GLib.DBusMethodInvocation invocation, string arg_device, GLib.Variant arg_options);
		public virtual signal bool handle_request_sync_action (GLib.DBusMethodInvocation invocation, string arg_sync_action, GLib.Variant arg_options);
		public virtual signal bool handle_set_bitmap_location (GLib.DBusMethodInvocation invocation, string arg_value, GLib.Variant arg_options);
		public virtual signal bool handle_start (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_stop (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_manager_get_type ()")]
	public interface Manager : GLib.Object {
		public async bool call_enable_modules (bool arg_enable, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_enable_modules_sync (bool arg_enable, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (async_result_pos = 3.1)]
		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;
		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;
		[CCode (async_result_pos = 2.1)]
		[Version (since = "2.0.0")]
		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;
		[Version (since = "2.0.0")]
		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;
		public void complete_enable_modules (owned GLib.DBusMethodInvocation invocation);
		public void complete_loop_setup (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, string resulting_device);
		[Version (since = "2.0.0")]
		public void complete_mdraid_create (owned GLib.DBusMethodInvocation invocation, string resulting_array);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		public abstract string[] supported_filesystems { owned get; set; }
		[NoAccessorMethod]
		public abstract string version { owned get; set; }
		public virtual signal bool handle_enable_modules (GLib.DBusMethodInvocation invocation, bool arg_enable);
		public virtual signal bool handle_loop_setup (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_fd, GLib.Variant arg_options);
		[Version (since = "2.0.0")]
		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);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_get_type ()")]
	public interface Object : GLib.DBusObject, GLib.Object {
		public UDisks.Block get_block ();
		public UDisks.Drive get_drive ();
		public UDisks.DriveAta get_drive_ata ();
		public UDisks.Encrypted get_encrypted ();
		public UDisks.Filesystem get_filesystem ();
		public UDisks.Job get_job ();
		public UDisks.Loop get_loop ();
		public UDisks.Manager get_manager ();
		[Version (since = "2.0.0")]
		public UDisks.MDRaid get_mdraid ();
		public UDisks.Partition get_partition ();
		public UDisks.PartitionTable get_partition_table ();
		public UDisks.Swapspace get_swapspace ();
		[NoAccessorMethod]
		public abstract UDisks.Block block { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.Drive drive { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.DriveAta drive_ata { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.Encrypted encrypted { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.Filesystem filesystem { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.Job job { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.Loop loop { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.Manager manager { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "2.0.0")]
		public abstract UDisks.MDRaid mdraid { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.Partition partition { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.PartitionTable partition_table { owned get; set; }
		[NoAccessorMethod]
		public abstract UDisks.Swapspace swapspace { owned get; set; }
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_get_type ()")]
	public interface Partition : GLib.Object {
		public async bool call_delete (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_delete_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_set_flags (uint64 arg_flags, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_set_flags_sync (uint64 arg_flags, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_set_name (string arg_name, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_set_name_sync (string arg_name, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_set_type (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_set_type_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_delete (owned GLib.DBusMethodInvocation invocation);
		public void complete_set_flags (owned GLib.DBusMethodInvocation invocation);
		public void complete_set_name (owned GLib.DBusMethodInvocation invocation);
		public void complete_set_type (owned GLib.DBusMethodInvocation invocation);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract uint64 flags { get; set; }
		[NoAccessorMethod]
		public abstract bool is_contained { get; set; }
		[NoAccessorMethod]
		public abstract bool is_container { get; set; }
		[NoAccessorMethod]
		public abstract string name { owned get; set; }
		[NoAccessorMethod]
		public abstract uint number { get; set; }
		[NoAccessorMethod]
		public abstract uint64 offset { get; set; }
		[NoAccessorMethod]
		public abstract uint64 size { get; set; }
		[NoAccessorMethod]
		public abstract string table { owned get; set; }
		[NoAccessorMethod]
		public abstract string type { owned get; set; }
		[NoAccessorMethod]
		public abstract string uuid { owned get; set; }
		public virtual signal bool handle_delete (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_set_flags (GLib.DBusMethodInvocation invocation, uint64 arg_flags, GLib.Variant arg_options);
		public virtual signal bool handle_set_name (GLib.DBusMethodInvocation invocation, string arg_name, GLib.Variant arg_options);
		public virtual signal bool handle_set_type (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_partition_table_get_type ()")]
	public interface PartitionTable : GLib.Object {
		[CCode (async_result_pos = 2.1)]
		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;
		[CCode (async_result_pos = 2.1)]
		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;
		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;
		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;
		public void complete_create_partition (owned GLib.DBusMethodInvocation invocation, string created_partition);
		public void complete_create_partition_and_format (owned GLib.DBusMethodInvocation invocation, string created_partition);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract string type { owned get; set; }
		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);
		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);
	}
	[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_swapspace_get_type ()")]
	public interface Swapspace : GLib.Object {
		public async bool call_start (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_start_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool call_stop (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
		public bool call_stop_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void complete_start (owned GLib.DBusMethodInvocation invocation);
		public void complete_stop (owned GLib.DBusMethodInvocation invocation);
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract bool active { get; set; }
		public virtual signal bool handle_start (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
		public virtual signal bool handle_stop (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
	}
	[CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_PARTITION_TYPE_INFO_FLAGS_", type_id = "udisks_partition_type_info_flags_get_type ()")]
	[Flags]
	public enum PartitionTypeInfoFlags {
		NONE,
		SWAP,
		RAID,
		HIDDEN,
		CREATE_ONLY,
		SYSTEM
	}
	[CCode (cheader_filename = "udisks/udisks.h", cprefix = "UDISKS_ERROR_", type_id = "udisks_error_get_type ()")]
	public errordomain Error {
		FAILED,
		CANCELLED,
		ALREADY_CANCELLED,
		NOT_AUTHORIZED,
		NOT_AUTHORIZED_CAN_OBTAIN,
		NOT_AUTHORIZED_DISMISSED,
		ALREADY_MOUNTED,
		NOT_MOUNTED,
		OPTION_NOT_PERMITTED,
		MOUNTED_BY_OTHER_USER,
		ALREADY_UNMOUNTING,
		NOT_SUPPORTED,
		TIMED_OUT,
		WOULD_WAKEUP,
		DEVICE_BUSY,
		ISCSI_DAEMON_TRANSPORT_FAILED,
		ISCSI_HOST_NOT_FOUND,
		ISCSI_IDMB,
		ISCSI_LOGIN_FAILED,
		ISCSI_LOGIN_AUTH_FAILED,
		ISCSI_LOGIN_FATAL,
		ISCSI_LOGOUT_FAILED,
		ISCSI_NO_FIRMWARE,
		ISCSI_NO_OBJECTS_FOUND,
		ISCSI_NOT_CONNECTED,
		ISCSI_TRANSPORT_FAILED,
		ISCSI_UNKNOWN_DISCOVERY_TYPE;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_ERROR_NUM_ENTRIES")]
	public const int ERROR_NUM_ENTRIES;
	[CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_MAJOR_VERSION")]
	public const int MAJOR_VERSION;
	[CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_MICRO_VERSION")]
	public const int MICRO_VERSION;
	[CCode (cheader_filename = "udisks/udisks.h", cname = "UDISKS_MINOR_VERSION")]
	public const int MINOR_VERSION;
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Block.interface_info")]
	public static unowned GLib.DBusInterfaceInfo block_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Block.override_properties")]
	public static uint block_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "DriveAta.interface_info")]
	public static unowned GLib.DBusInterfaceInfo drive_ata_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "DriveAta.override_properties")]
	public static uint drive_ata_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Drive.interface_info")]
	public static unowned GLib.DBusInterfaceInfo drive_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Drive.override_properties")]
	public static uint drive_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Encrypted.interface_info")]
	public static unowned GLib.DBusInterfaceInfo encrypted_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Encrypted.override_properties")]
	public static uint encrypted_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Error.quark")]
	public static GLib.Quark error_quark ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Filesystem.interface_info")]
	public static unowned GLib.DBusInterfaceInfo filesystem_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Filesystem.override_properties")]
	public static uint filesystem_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Job.interface_info")]
	public static unowned GLib.DBusInterfaceInfo job_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Job.override_properties")]
	public static uint job_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Loop.interface_info")]
	public static unowned GLib.DBusInterfaceInfo loop_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Loop.override_properties")]
	public static uint loop_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Manager.interface_info")]
	public static unowned GLib.DBusInterfaceInfo manager_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Manager.override_properties")]
	public static uint manager_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "MDRaid.interface_info", since = "2.0.0")]
	public static unowned GLib.DBusInterfaceInfo mdraid_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "MDRaid.override_properties", since = "2.0.0")]
	public static uint mdraid_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Partition.interface_info")]
	public static unowned GLib.DBusInterfaceInfo partition_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Partition.override_properties")]
	public static uint partition_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "PartitionTable.interface_info")]
	public static unowned GLib.DBusInterfaceInfo partition_table_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "PartitionTable.override_properties")]
	public static uint partition_table_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Swapspace.interface_info")]
	public static unowned GLib.DBusInterfaceInfo swapspace_interface_info ();
	[CCode (cheader_filename = "udisks/udisks.h")]
	[Version (replacement = "Swapspace.override_properties")]
	public static uint swapspace_override_properties (GLib.ObjectClass klass, uint property_id_begin);
}