summaryrefslogtreecommitdiff
path: root/src/gudev/gudevdevice.h
diff options
context:
space:
mode:
authorAndreas Fuchs <anduchs@gmail.com>2014-02-22 12:02:35 +0100
committerKay Sievers <kay@vrfy.org>2014-02-22 18:48:01 +0100
commitfcc70b92f44788e89252011a4c87151961fd8999 (patch)
tree859c2618b55b8efab2d26c544711b0489a3a5150 /src/gudev/gudevdevice.h
parent733f7a2c69c794a81978a08a79916c224ba355a6 (diff)
gudev: add device::get_sysfs_attr_keys and device::has_sysfs_attr
For gudev -> gudevdevice: - Add support for get_sysfs_attr_keys() - Add support for has_sysfs_attr()
Diffstat (limited to 'src/gudev/gudevdevice.h')
-rw-r--r--src/gudev/gudevdevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gudev/gudevdevice.h b/src/gudev/gudevdevice.h
index 457b961c5e..72ec180f55 100644
--- a/src/gudev/gudevdevice.h
+++ b/src/gudev/gudevdevice.h
@@ -108,6 +108,9 @@ gboolean g_udev_device_get_property_as_boolean (GUdevDevice *devic
const gchar* const *g_udev_device_get_property_as_strv (GUdevDevice *device,
const gchar *key);
+const gchar* const *g_udev_device_get_sysfs_attr_keys (GUdevDevice *device);
+gboolean g_udev_device_has_sysfs_attr (GUdevDevice *device,
+ const gchar *key);
const gchar *g_udev_device_get_sysfs_attr (GUdevDevice *device,
const gchar *name);
gint g_udev_device_get_sysfs_attr_as_int (GUdevDevice *device,