gedit-2.20: Make Window.create_tab_from_uri.encoding nullable.
[vala-lang.git] / vapi / gudev-1.0.vapi
blobe176eae24656d8dc2497cae2a09483b902f1cf9e
1 /* gudev-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "GUdev", lower_case_cprefix = "g_udev_")]
4 namespace GUdev {
5         [CCode (cheader_filename = "gudev/gudev.h")]
6         public class Client : GLib.Object {
7                 [CCode (has_construct_function = false)]
8                 public Client ([CCode (array_length = false)] string[]? subsystems);
9                 public unowned GUdev.Device? query_by_device_file (string device_file);
10                 public unowned GUdev.Device? query_by_device_number (GUdev.DeviceType type, GUdev.DeviceNumber number);
11                 public GLib.List<GUdev.Device> query_by_subsystem (string? subsystem);
12                 public unowned GUdev.Device? query_by_subsystem_and_name (string subsystem, string name);
13                 public unowned GUdev.Device? query_by_sysfs_path (string sysfs_path);
14                 [NoWrapper]
15                 public virtual void reserved1 ();
16                 [NoWrapper]
17                 public virtual void reserved2 ();
18                 [NoWrapper]
19                 public virtual void reserved3 ();
20                 [NoWrapper]
21                 public virtual void reserved4 ();
22                 [NoWrapper]
23                 public virtual void reserved5 ();
24                 [NoWrapper]
25                 public virtual void reserved6 ();
26                 [NoWrapper]
27                 public virtual void reserved7 ();
28                 [NoWrapper]
29                 public virtual void reserved8 ();
30                 [NoAccessorMethod]
31                 [CCode (array_length = false, array_null_terminated = true)]
32                 public string[] subsystems { owned get; construct; }
33                 public virtual signal void uevent (string action, GUdev.Device device);
34         }
35         [CCode (cheader_filename = "gudev/gudev.h")]
36         public class Device : GLib.Object {
37                 public unowned string get_action ();
38                 public unowned string? get_device_file ();
39                 [CCode (array_length = false)]
40                 public unowned string[] get_device_file_symlinks ();
41                 public GUdev.DeviceNumber get_device_number ();
42                 public GUdev.DeviceType get_device_type ();
43                 public unowned string get_devtype ();
44                 public unowned string? get_driver ();
45                 public unowned string get_name ();
46                 public unowned string get_number ();
47                 public unowned GUdev.Device? get_parent ();
48                 public unowned GUdev.Device? get_parent_with_subsystem (string subsystem, string? devtype);
49                 public unowned string? get_property (string key);
50                 public bool get_property_as_boolean (string key);
51                 public double get_property_as_double (string key);
52                 public int get_property_as_int (string key);
53                 [CCode (array_length = false)]
54                 public unowned string?[] get_property_as_strv (string key);
55                 public uint64 get_property_as_uint64 (string key);
56                 [CCode (array_length = false, array_null_terminated = true)]
57                 public unowned string?[] get_property_keys ();
58                 public uint64 get_seqnum ();
59                 public unowned string get_subsystem ();
60                 public unowned string? get_sysfs_attr (string name);
61                 public bool get_sysfs_attr_as_boolean (string name);
62                 public double get_sysfs_attr_as_double (string name);
63                 public int get_sysfs_attr_as_int (string name);
64                 [CCode (array_length = false)]
65                 public unowned string?[] get_sysfs_attr_as_strv (string name);
66                 public uint64 get_sysfs_attr_as_uint64 (string name);
67                 public unowned string get_sysfs_path ();
68                 public bool has_property (string key);
69                 [NoWrapper]
70                 public virtual void reserved1 ();
71                 [NoWrapper]
72                 public virtual void reserved2 ();
73                 [NoWrapper]
74                 public virtual void reserved3 ();
75                 [NoWrapper]
76                 public virtual void reserved4 ();
77                 [NoWrapper]
78                 public virtual void reserved5 ();
79                 [NoWrapper]
80                 public virtual void reserved6 ();
81                 [NoWrapper]
82                 public virtual void reserved7 ();
83                 [NoWrapper]
84                 public virtual void reserved8 ();
85         }
86         [CCode (cheader_filename = "gudev/gudev.h")]
87         [SimpleType]
88         [IntegerType (rank = 9)]
89         public struct DeviceNumber : Posix.dev_t {
90         }
91         [CCode (cprefix = "G_UDEV_DEVICE_TYPE_", cheader_filename = "gudev/gudev.h")]
92         public enum DeviceType {
93                 NONE,
94                 BLOCK,
95                 CHAR
96         }