summaryrefslogtreecommitdiff
path: root/extras/gudev/gudev.h
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-06-16 17:52:15 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-16 17:52:15 +0200
commitbf05675a2007af645b1998d5b7c60ab7bf2dc1fc (patch)
tree11d41017cb0c864c054863164c7226f60bb7efd3 /extras/gudev/gudev.h
parentaf23b83ea714756aa4bfed7f7501739c69428e40 (diff)
gudev: move from udev-extras
GObject libudev access. Initial version from Bastien Nocera, current version by David Zeuthen.
Diffstat (limited to 'extras/gudev/gudev.h')
-rw-r--r--extras/gudev/gudev.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/extras/gudev/gudev.h b/extras/gudev/gudev.h
new file mode 100644
index 0000000000..50c6e0d236
--- /dev/null
+++ b/extras/gudev/gudev.h
@@ -0,0 +1,36 @@
+/* -*- 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.
+ */
+
+#ifndef __G_UDEV_H__
+#define __G_UDEV_H__
+
+#ifndef G_UDEV_API_IS_SUBJECT_TO_CHANGE
+#error GUdev is currently unstable API. You must define G_UDEV_API_IS_SUBJECT_TO_CHANGE to acknowledge this.
+#endif
+
+#define _GUDEV_INSIDE_GUDEV_H 1
+#include <gudev/gudevenums.h>
+#include <gudev/gudevenumtypes.h>
+#include <gudev/gudevtypes.h>
+#include <gudev/gudevclient.h>
+#include <gudev/gudevdevice.h>
+#undef _GUDEV_INSIDE_GUDEV_H
+
+#endif /* __G_UDEV_H__ */