X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fgudev%2Fgudevdevice.h;h=72ec180f55db7f6b1261ed9266d42d9573a1a7eb;hb=d0a2e1c364320b862a6aae099afa106ea59bb84c;hp=d4873bad0fbb84a2deb07f84d44c208ee5984a5f;hpb=bb061708d5aa83579f213bdfb67253f7027217c3;p=elogind.git diff --git a/src/gudev/gudevdevice.h b/src/gudev/gudevdevice.h index d4873bad0..72ec180f5 100644 --- a/src/gudev/gudevdevice.h +++ b/src/gudev/gudevdevice.h @@ -3,19 +3,18 @@ * Copyright (C) 2008 David Zeuthen * * 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,