chiark / gitweb /
8866f52b88399ee025ecd208544c9e1a2bf3c467
[elogind.git] / src / extras / gudev / gudevprivate.h
1 /* -*- Mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2  *
3  * Copyright (C) 2008 David Zeuthen <davidz@redhat.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #if !defined (_GUDEV_COMPILATION) && !defined(_GUDEV_INSIDE_GUDEV_H)
22 #error "Only <gudev/gudev.h> can be included directly, this file may disappear or change contents."
23 #endif
24
25 #ifndef __G_UDEV_PRIVATE_H__
26 #define __G_UDEV_PRIVATE_H__
27
28 #include <gudev/gudevtypes.h>
29
30 #include <libudev.h>
31
32 G_BEGIN_DECLS
33
34 GUdevDevice *
35 _g_udev_device_new (struct udev_device *udevice);
36
37 struct udev *_g_udev_client_get_udev (GUdevClient *client);
38
39 G_END_DECLS
40
41 #endif /* __G_UDEV_PRIVATE_H__ */