]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/libudev/libudev-device-internal.h
4 This file is part of systemd.
6 Copyright 2008-2012 Kay Sievers <kay@vrfy.org>
7 Copyright 2015 Tom Gundersen <teg@jklm.no>
9 systemd is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation; either version 2.1 of the License, or
12 (at your option) any later version.
14 systemd is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
19 You should have received a copy of the GNU Lesser General Public License
20 along with systemd; If not, see <http://www.gnu.org/licenses/>.
24 #include "sd-device.h"
26 #include "libudev-private.h"
31 * Opaque object representing one kernel sys device.
36 /* real device object */
42 struct udev_device
*parent
;
45 struct udev_list properties
;
46 uint64_t properties_generation
;
47 struct udev_list tags
;
48 uint64_t tags_generation
;
49 struct udev_list devlinks
;
50 uint64_t devlinks_generation
;
51 bool properties_read
:1;
54 struct udev_list sysattrs
;
58 struct udev_device
*udev_device_new(struct udev
*udev
);