chiark / gitweb /
gudev: replace regex with sym file
[elogind.git] / src / gudev / gudevdevice.h
index d4873bad0fbb84a2deb07f84d44c208ee5984a5f..72ec180f55db7f6b1261ed9266d42d9573a1a7eb 100644 (file)
@@ -3,19 +3,18 @@
  * Copyright (C) 2008 David Zeuthen <davidz@redhat.com>
  *
  * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
+ * modify it under the terms of the GNU Library General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
+ * Library General Public License for more details.
  *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #if !defined (_GUDEV_COMPILATION) && !defined(_GUDEV_INSIDE_GUDEV_H)
@@ -109,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,