diff options
author | David Zeuthen <davidz@redhat.com> | 2009-06-16 17:52:15 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-06-16 17:52:15 +0200 |
commit | bf05675a2007af645b1998d5b7c60ab7bf2dc1fc (patch) | |
tree | 11d41017cb0c864c054863164c7226f60bb7efd3 /extras/gudev/gudevprivate.h | |
parent | af23b83ea714756aa4bfed7f7501739c69428e40 (diff) |
gudev: move from udev-extras
GObject libudev access. Initial version from Bastien Nocera, current
version by David Zeuthen.
Diffstat (limited to 'extras/gudev/gudevprivate.h')
-rw-r--r-- | extras/gudev/gudevprivate.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extras/gudev/gudevprivate.h b/extras/gudev/gudevprivate.h new file mode 100644 index 0000000000..64b008fb83 --- /dev/null +++ b/extras/gudev/gudevprivate.h @@ -0,0 +1,40 @@ +/* -*- Mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- + * + * 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 + * 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. + * + * 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. + */ + +#if !defined (_GUDEV_COMPILATION) && !defined(_GUDEV_INSIDE_GUDEV_H) +#error "Only <gudev/gudev.h> can be included directly, this file may disappear or change contents." +#endif + +#ifndef __G_UDEV_PRIVATE_H__ +#define __G_UDEV_PRIVATE_H__ + +#include <gudev/gudevtypes.h> + +#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE 1 +#include <libudev.h> + +G_BEGIN_DECLS + +GUdevDevice * +_g_udev_device_new (struct udev_device *udevice); + +G_END_DECLS + +#endif /* __G_UDEV_PRIVATE_H__ */ |