From 028c8866ee0d5aae9d7349f0d70a96a4104c06dd Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 17 Apr 2013 02:04:47 +0000 Subject: Update udev-lfs files for systemd-201 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10243 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- udev-lfs/Makefile.lfs | 38 +- udev-lfs/gudev/GUdevClient.html | 467 ------------- udev-lfs/gudev/GUdevDevice.html | 1077 ------------------------------ udev-lfs/gudev/GUdevEnumerator.html | 493 -------------- udev-lfs/gudev/annotation-glossary.html | 56 -- udev-lfs/gudev/api-index-deprecated.html | 31 - udev-lfs/gudev/api-index-full.html | 281 -------- udev-lfs/gudev/gudev-hierarchy.html | 38 -- udev-lfs/gudev/gudev.devhelp2 | 80 --- udev-lfs/gudev/home.png | Bin 654 -> 0 bytes udev-lfs/gudev/index.html | 53 -- udev-lfs/gudev/index.sgml | 90 --- udev-lfs/gudev/ix02.html | 110 --- udev-lfs/gudev/left.png | Bin 459 -> 0 bytes udev-lfs/gudev/ref-API.html | 41 -- udev-lfs/gudev/right.png | Bin 472 -> 0 bytes udev-lfs/gudev/style.css | 266 -------- udev-lfs/gudev/up.png | Bin 406 -> 0 bytes udev-lfs/makefile-incl.gudev | 4 +- udev-lfs/makefile-incl.keymap | 72 +- udev-lfs/udev.7 | 2 +- udev-lfs/udevadm.8 | 2 +- udev-lfs/udevd.8 | 2 +- 23 files changed, 28 insertions(+), 3175 deletions(-) delete mode 100644 udev-lfs/gudev/GUdevClient.html delete mode 100644 udev-lfs/gudev/GUdevDevice.html delete mode 100644 udev-lfs/gudev/GUdevEnumerator.html delete mode 100644 udev-lfs/gudev/annotation-glossary.html delete mode 100644 udev-lfs/gudev/api-index-deprecated.html delete mode 100644 udev-lfs/gudev/api-index-full.html delete mode 100644 udev-lfs/gudev/gudev-hierarchy.html delete mode 100644 udev-lfs/gudev/gudev.devhelp2 delete mode 100644 udev-lfs/gudev/home.png delete mode 100644 udev-lfs/gudev/index.html delete mode 100644 udev-lfs/gudev/index.sgml delete mode 100644 udev-lfs/gudev/ix02.html delete mode 100644 udev-lfs/gudev/left.png delete mode 100644 udev-lfs/gudev/ref-API.html delete mode 100644 udev-lfs/gudev/right.png delete mode 100644 udev-lfs/gudev/style.css delete mode 100644 udev-lfs/gudev/up.png (limited to 'udev-lfs') diff --git a/udev-lfs/Makefile.lfs b/udev-lfs/Makefile.lfs index e1e31ced4..ac4658e34 100644 --- a/udev-lfs/Makefile.lfs +++ b/udev-lfs/Makefile.lfs @@ -4,7 +4,7 @@ # vim: tabstop=3 SHELL=/bin/bash -SYSTEMD_VERSION=200 +SYSTEMD_VERSION=201 VERSION=$(SYSTEMD_VERSION)-1 ifeq ($(V),) @@ -24,12 +24,12 @@ WARN = -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 \ -Werror=overflow -Wp,-D_FORTIFY_SOURCE=2 -Wno-long-long OPTIONS = -O2 -pipe -ffast-math -fno-common -fdiagnostics-show-option \ --fno-strict-aliasing -ffunction-sections -fdata-sections -fPIC +-fno-strict-aliasing -ffunction-sections -fdata-sections -fPIC -std=gnu99 OPTIONS2 := $(OPTIONS) -fvisibility=hidden -LDFLAGS = -pthread -lrt -Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined -LDFLAGS2 := $(LDFLAGS) -lblkid -lkmod +LDFLAGS1 = -pthread -lrt -Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined +LDFLAGS2 := $(LDFLAGS1) -lblkid -lkmod DEF = -include cfg.h \ -DSYSCONFDIR=\"/etc\" \ @@ -38,7 +38,8 @@ DEF = -include cfg.h \ -DROOTPREFIX= \ -DUDEVLIBEXECDIR=\"/lib/udev\" \ -D_LARGEFILE_SOURCE \ - -D_FILE_OFFSET_BITS=64 + -D_FILE_OFFSET_BITS=64 \ + -DHAVE_FIRMWARE INCLUDE = -I src/libudev -I src/shared -I src -I src/login -I src/systemd @@ -57,7 +58,7 @@ LIBUDEV_OBJS := $(addprefix build/, $(LIBUDEV_SRCS:.c=.o)) LIBUDEV = libudev LIBUDEV_MAJOR = .1 -LIBUDEV_MINOR = .0 +LIBUDEV_MINOR = .3 LIBUDEV_PATCH = .2 LIBUDEV_SONAME := $(LIBUDEV).so LIBUDEV_LINK_NAME := $(LIBUDEV_SONAME)$(LIBUDEV_MAJOR) @@ -236,39 +237,39 @@ build/udevadm: $(UDEV_ADMIN_OBJS) build/$(COMMON_LIB) build/accelerometer: build/accelerometer.o build/$(COMMON_LIB) @echo LINK $@ $(VB)gcc build/accelerometer.o -o $@ \ - build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS) -lm + build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS1) -lm $(VB)strip --strip-unneeded $@ build/scsi_id: build/scsi_id.o build/scsi_serial.o build/$(COMMON_LIB) @echo LINK $@ $(VB)gcc build/scsi_id.o build/scsi_serial.o -o $@ \ - build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS) + build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS1) $(VB)strip --strip-unneeded $@ build/ata_id: build/ata_id.o build/$(COMMON_LIB) @echo LINK $@ - $(VB)gcc build/ata_id.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS) + $(VB)gcc build/ata_id.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS1) $(VB)strip --strip-unneeded $@ build/cdrom_id: build/cdrom_id.o build/$(COMMON_LIB) @echo LINK $@ - $(VB)gcc build/cdrom_id.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS) + $(VB)gcc build/cdrom_id.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS1) $(VB)strip --strip-unneeded $@ build/v4l_id: build/v4l_id.o build/$(COMMON_LIB) @echo LINK $@ - $(VB)gcc build/v4l_id.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS) + $(VB)gcc build/v4l_id.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS1) $(VB)strip --strip-unneeded $@ build/mtd_probe: build/mtd_probe.o build/probe_smartmedia.o build/$(COMMON_LIB) @echo LINK $@ $(VB)gcc build/mtd_probe.o build/probe_smartmedia.o -o $@ \ - build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS) + build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS1) $(VB)strip --strip-unneeded $@ build/collect: build/collect.o build/$(COMMON_LIB) @echo LINK $@ - $(VB)gcc build/collect.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS) + $(VB)gcc build/collect.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS1) $(VB)strip --strip-unneeded $@ build/%pc: %pc.in common @@ -279,8 +280,9 @@ install: udev @mkdir -pv $(DESTDIR)/lib/udev/devices/pts $(DESTDIR)/lib/udev/rules.d \ $(DESTDIR){,/usr}/lib/firmware $(DESTDIR)/sbin \ $(DESTDIR)/usr/lib/pkgconfig $(DESTDIR)/etc/udev/rules.d \ - $(DESTDIR)/usr/share/doc/udev/lfs $(DESTDIR)/usr/include \ - $(DESTDIR)/usr/share/man/man{7,8} + $(DESTDIR)/usr/share/man/man{7,8} $(DESTDIR)/usr/include \ + $(DESTDIR)/usr/share/doc/udev-$(SYSTEMD_VERSION)/lfs \ + $(DESTDIR)/usr/share/gtk-doc/html/udev # Copy executables @cp -v build/udevadm $(DESTDIR)/sbin @@ -313,8 +315,10 @@ install: udev @cp -v udev-lfs-$(VERSION)/udev.7 $(DESTDIR)/usr/share/man/man7 @cp -v udev-lfs-$(VERSION)/udevadm.8 $(DESTDIR)/usr/share/man/man8 @cp -v udev-lfs-$(VERSION)/udevd.8 $(DESTDIR)/usr/share/man/man8 - @cp -v udev-lfs-$(VERSION)/README $(DESTDIR)/usr/share/doc/udev/lfs - @cp -v udev-lfs-$(VERSION)/*.txt $(DESTDIR)/usr/share/doc/udev/lfs + @cp -v udev-lfs-$(VERSION)/README $(DESTDIR)/usr/share/doc/udev-$(SYSTEMD_VERSION)/lfs + @cp -v udev-lfs-$(VERSION)/*.txt $(DESTDIR)/usr/share/doc/udev-$(SYSTEMD_VERSION)/lfs + @cp -v docs/libudev/*.{txt,types} $(DESTDIR)/usr/share/doc/udev-$(SYSTEMD_VERSION) + @cp -v docs/libudev/html/* $(DESTDIR)/usr/share/gtk-doc/html/udev # Copy misc @cp -v udev-lfs-$(VERSION)/init-net-rules.sh $(DESTDIR)/lib/udev diff --git a/udev-lfs/gudev/GUdevClient.html b/udev-lfs/gudev/GUdevClient.html deleted file mode 100644 index c50304404..000000000 --- a/udev-lfs/gudev/GUdevClient.html +++ /dev/null @@ -1,467 +0,0 @@ - - - - -GUdevClient - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

GUdevClient

-

GUdevClient — Query devices and listen to uevents

-
-
-

Synopsis

-
                    GUdevClient;
-struct              GUdevClientClass;
-enum                GUdevDeviceType;
-typedef             GUdevDeviceNumber;
-GUdevClient *       g_udev_client_new                   (const gchar * const *subsystems);
-GList *             g_udev_client_query_by_subsystem    (GUdevClient *client,
-                                                         const gchar *subsystem);
-GUdevDevice *       g_udev_client_query_by_device_number
-                                                        (GUdevClient *client,
-                                                         GUdevDeviceType type,
-                                                         GUdevDeviceNumber number);
-GUdevDevice *       g_udev_client_query_by_device_file  (GUdevClient *client,
-                                                         const gchar *device_file);
-GUdevDevice *       g_udev_client_query_by_sysfs_path   (GUdevClient *client,
-                                                         const gchar *sysfs_path);
-GUdevDevice *       g_udev_client_query_by_subsystem_and_name
-                                                        (GUdevClient *client,
-                                                         const gchar *subsystem,
-                                                         const gchar *name);
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----GUdevClient
-
-
-  GEnum
-   +----GUdevDeviceType
-
-
-
-

Properties

-
-  "subsystems"               GStrv                 : Read / Write / Construct Only
-
-
-
-

Signals

-
-  "uevent"                                         : Run Last
-
-
-
-

Description

-

-GUdevClient is used to query information about devices on a Linux -system from the Linux kernel and the udev device -manager. -

-

-Device information is retrieved from the kernel (through the -sysfs filesystem) and the udev daemon (through a -tmpfs filesystem) and presented through -GUdevDevice objects. This means that no blocking IO ever happens -(in both cases, we are essentially just reading data from kernel -memory) and as such there are no asynchronous versions of the -provided methods. -

-

-To get GUdevDevice objects, use -g_udev_client_query_by_subsystem(), -g_udev_client_query_by_device_number(), -g_udev_client_query_by_device_file(), -g_udev_client_query_by_sysfs_path(), -g_udev_client_query_by_subsystem_and_name() -or the GUdevEnumerator type. -

-

-To listen to uevents, connect to the "uevent" signal. -

-
-
-

Details

-
-

GUdevClient

-
typedef struct _GUdevClient GUdevClient;
-

-The GUdevClient struct is opaque and should not be accessed directly. -

-
-
-
-

struct GUdevClientClass

-
struct GUdevClientClass {
-  GObjectClass   parent_class;
-
-  /* signals */
-  void (*uevent) (GUdevClient  *client,
-                  const gchar  *action,
-                  GUdevDevice  *device);
-};
-
-

-Class structure for GUdevClient. -

-
---- - - - - - - - - - - -

GObjectClass parent_class;

Parent class.

uevent ()

Signal class handler for the "uevent" signal.
-
-
-
-

enum GUdevDeviceType

-
typedef enum {
-  G_UDEV_DEVICE_TYPE_NONE = 0,
-  G_UDEV_DEVICE_TYPE_BLOCK = 'b',
-  G_UDEV_DEVICE_TYPE_CHAR = 'c',
-} GUdevDeviceType;
-
-

-Enumeration used to specify a the type of a device. -

-
---- - - - - - - - - - - - - - - -

G_UDEV_DEVICE_TYPE_NONE

Device does not have a device file. -

G_UDEV_DEVICE_TYPE_BLOCK

Device is a block device. -

G_UDEV_DEVICE_TYPE_CHAR

Device is a character device. -
-
-
-
-

GUdevDeviceNumber

-
typedef guint64 GUdevDeviceNumber; /* __UQUAD_TYPE */
-
-

-Corresponds to the standard dev_t type as defined by POSIX (Until -bug 584517 is resolved this work-around is needed). -

-
-
-
-

g_udev_client_new ()

-
GUdevClient *       g_udev_client_new                   (const gchar * const *subsystems);
-

-Constructs a GUdevClient object that can be used to query -information about devices. Connect to the "uevent" -signal to listen for uevents. Note that signals are emitted in the -thread-default main loop -of the thread that you call this constructor from. -

-
---- - - - - - - - - - - -

subsystems :

A NULL terminated string array of subsystems to listen for uevents on, NULL to not listen on uevents at all, or an empty array to listen to uevents on all subsystems. See the documentation for the "subsystems" property for details on this parameter. [array zero-terminated=1][element-type utf8][transfer none][allow-none] -

Returns :

A new GUdevClient object. Free with g_object_unref().
-
-
-
-

g_udev_client_query_by_subsystem ()

-
GList *             g_udev_client_query_by_subsystem    (GUdevClient *client,
-                                                         const gchar *subsystem);
-

-Gets all devices belonging to subsystem. -

-
---- - - - - - - - - - - - - - - -

client :

A GUdevClient.

subsystem :

The subsystem to get devices for or NULL to get all devices. [allow-none] -

Returns :

A list of GUdevDevice objects. The caller should free the result by using g_object_unref() on each element in the list and then g_list_free() on the list. [element-type GUdevDevice][transfer full] -
-
-
-
-

g_udev_client_query_by_device_number ()

-
GUdevDevice *       g_udev_client_query_by_device_number
-                                                        (GUdevClient *client,
-                                                         GUdevDeviceType type,
-                                                         GUdevDeviceNumber number);
-

-Looks up a device for a type and device number. -

-
---- - - - - - - - - - - - - - - - - - - -

client :

A GUdevClient.

type :

A value from the GUdevDeviceType enumeration.

number :

A device number.

Returns :

A GUdevDevice object or NULL if the device was not found. Free with g_object_unref(). [transfer full] -
-
-
-
-

g_udev_client_query_by_device_file ()

-
GUdevDevice *       g_udev_client_query_by_device_file  (GUdevClient *client,
-                                                         const gchar *device_file);
-

-Looks up a device for a device file. -

-
---- - - - - - - - - - - - - - - -

client :

A GUdevClient.

device_file :

A device file.

Returns :

A GUdevDevice object or NULL if the device was not found. Free with g_object_unref(). [transfer full] -
-
-
-
-

g_udev_client_query_by_sysfs_path ()

-
GUdevDevice *       g_udev_client_query_by_sysfs_path   (GUdevClient *client,
-                                                         const gchar *sysfs_path);
-

-Looks up a device for a sysfs path. -

-
---- - - - - - - - - - - - - - - -

client :

A GUdevClient.

sysfs_path :

A sysfs path.

Returns :

A GUdevDevice object or NULL if the device was not found. Free with g_object_unref(). [transfer full] -
-
-
-
-

g_udev_client_query_by_subsystem_and_name ()

-
GUdevDevice *       g_udev_client_query_by_subsystem_and_name
-                                                        (GUdevClient *client,
-                                                         const gchar *subsystem,
-                                                         const gchar *name);
-

-Looks up a device for a subsystem and name. -

-
---- - - - - - - - - - - - - - - - - - - -

client :

A GUdevClient.

subsystem :

A subsystem name.

name :

The name of the device.

Returns :

A GUdevDevice object or NULL if the device was not found. Free with g_object_unref(). [transfer full] -
-
-
-
-

Property Details

-
-

The "subsystems" property

-
  "subsystems"               GStrv                 : Read / Write / Construct Only
-

-The subsystems to listen for uevents on. -

-

-To listen for only a specific DEVTYPE for a given SUBSYSTEM, use -"subsystem/devtype". For example, to only listen for uevents -where SUBSYSTEM is usb and DEVTYPE is usb_interface, use -"usb/usb_interface". -

-

-If this property is NULL, then no events will be reported. If -it's the empty array, events from all subsystems will be -reported. -

-
-
-
-

Signal Details

-
-

The "uevent" signal

-
void                user_function                      (GUdevClient *client,
-                                                        gchar       *action,
-                                                        GUdevDevice *device,
-                                                        gpointer     user_data)      : Run Last
-

-Emitted when client receives an uevent. -

-

-This signal is emitted in the -thread-default main loop -of the thread that client was created in. -

-
---- - - - - - - - - - - - - - - - - - - -

client :

The GUdevClient receiving the event.

action :

The action for the uevent e.g. "add", "remove", "change", "move", etc.

device :

Details about the GUdevDevice the event is for.

user_data :

user data set when the signal handler was connected.
-
-
-
- - - \ No newline at end of file diff --git a/udev-lfs/gudev/GUdevDevice.html b/udev-lfs/gudev/GUdevDevice.html deleted file mode 100644 index a2fb8987b..000000000 --- a/udev-lfs/gudev/GUdevDevice.html +++ /dev/null @@ -1,1077 +0,0 @@ - - - - -GUdevDevice - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

GUdevDevice

-

GUdevDevice — Get information about a device

-
-
-

Synopsis

-
                    GUdevDevice;
-struct              GUdevDeviceClass;
-const gchar *       g_udev_device_get_subsystem         (GUdevDevice *device);
-const gchar *       g_udev_device_get_devtype           (GUdevDevice *device);
-const gchar *       g_udev_device_get_name              (GUdevDevice *device);
-const gchar *       g_udev_device_get_number            (GUdevDevice *device);
-const gchar *       g_udev_device_get_sysfs_path        (GUdevDevice *device);
-const gchar *       g_udev_device_get_driver            (GUdevDevice *device);
-const gchar *       g_udev_device_get_action            (GUdevDevice *device);
-guint64             g_udev_device_get_seqnum            (GUdevDevice *device);
-GUdevDeviceType     g_udev_device_get_device_type       (GUdevDevice *device);
-GUdevDeviceNumber   g_udev_device_get_device_number     (GUdevDevice *device);
-const gchar *       g_udev_device_get_device_file       (GUdevDevice *device);
-const gchar * const * g_udev_device_get_device_file_symlinks
-                                                        (GUdevDevice *device);
-GUdevDevice *       g_udev_device_get_parent            (GUdevDevice *device);
-GUdevDevice *       g_udev_device_get_parent_with_subsystem
-                                                        (GUdevDevice *device,
-                                                         const gchar *subsystem,
-                                                         const gchar *devtype);
-const gchar * const * g_udev_device_get_tags            (GUdevDevice *device);
-gboolean            g_udev_device_get_is_initialized    (GUdevDevice *device);
-guint64             g_udev_device_get_usec_since_initialized
-                                                        (GUdevDevice *device);
-const gchar * const * g_udev_device_get_property_keys   (GUdevDevice *device);
-gboolean            g_udev_device_has_property          (GUdevDevice *device,
-                                                         const gchar *key);
-const gchar *       g_udev_device_get_property          (GUdevDevice *device,
-                                                         const gchar *key);
-gint                g_udev_device_get_property_as_int   (GUdevDevice *device,
-                                                         const gchar *key);
-guint64             g_udev_device_get_property_as_uint64
-                                                        (GUdevDevice *device,
-                                                         const gchar *key);
-gdouble             g_udev_device_get_property_as_double
-                                                        (GUdevDevice *device,
-                                                         const gchar *key);
-gboolean            g_udev_device_get_property_as_boolean
-                                                        (GUdevDevice *device,
-                                                         const gchar *key);
-const gchar * const * g_udev_device_get_property_as_strv
-                                                        (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,
-                                                         const gchar *name);
-guint64             g_udev_device_get_sysfs_attr_as_uint64
-                                                        (GUdevDevice *device,
-                                                         const gchar *name);
-gdouble             g_udev_device_get_sysfs_attr_as_double
-                                                        (GUdevDevice *device,
-                                                         const gchar *name);
-gboolean            g_udev_device_get_sysfs_attr_as_boolean
-                                                        (GUdevDevice *device,
-                                                         const gchar *name);
-const gchar * const * g_udev_device_get_sysfs_attr_as_strv
-                                                        (GUdevDevice *device,
-                                                         const gchar *name);
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----GUdevDevice
-
-
-
-

Description

-

-The GUdevDevice class is used to get information about a specific -device. Note that you cannot instantiate a GUdevDevice object -yourself. Instead you must use GUdevClient to obtain GUdevDevice -objects. -

-

-To get basic information about a device, use -g_udev_device_get_subsystem(), g_udev_device_get_devtype(), -g_udev_device_get_name(), g_udev_device_get_number(), -g_udev_device_get_sysfs_path(), g_udev_device_get_driver(), -g_udev_device_get_action(), g_udev_device_get_seqnum(), -g_udev_device_get_device_type(), g_udev_device_get_device_number(), -g_udev_device_get_device_file(), -g_udev_device_get_device_file_symlinks(). -

-

-To navigate the device tree, use g_udev_device_get_parent() and -g_udev_device_get_parent_with_subsystem(). -

-

-To access udev properties for the device, use -g_udev_device_get_property_keys(), -g_udev_device_has_property(), -g_udev_device_get_property(), -g_udev_device_get_property_as_int(), -g_udev_device_get_property_as_uint64(), -g_udev_device_get_property_as_double(), -g_udev_device_get_property_as_boolean() and -g_udev_device_get_property_as_strv(). -

-

-To access sysfs attributes for the device, use -g_udev_device_get_sysfs_attr(), -g_udev_device_get_sysfs_attr_as_int(), -g_udev_device_get_sysfs_attr_as_uint64(), -g_udev_device_get_sysfs_attr_as_double(), -g_udev_device_get_sysfs_attr_as_boolean() and -g_udev_device_get_sysfs_attr_as_strv(). -

-

-Note that all getters on GUdevDevice are non-reffing – returned -values are owned by the object, should not be freed and are only -valid as long as the object is alive. -

-

-By design, GUdevDevice will not react to changes for a device – it -only contains a snapshot of information when the GUdevDevice -object was created. To work with changes, you typically connect to -the "uevent" signal on a GUdevClient and get a new -GUdevDevice whenever an event happens. -

-
-
-

Details

-
-

GUdevDevice

-
typedef struct _GUdevDevice GUdevDevice;
-

-The GUdevDevice struct is opaque and should not be accessed directly. -

-
-
-
-

struct GUdevDeviceClass

-
struct GUdevDeviceClass {
-  GObjectClass parent_class;
-};
-
-

-Class structure for GUdevDevice. -

-
---- - - - - -

GObjectClass parent_class;

Parent class.
-
-
-
-

g_udev_device_get_subsystem ()

-
const gchar *       g_udev_device_get_subsystem         (GUdevDevice *device);
-

-Gets the subsystem for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The subsystem for device.
-
-
-
-

g_udev_device_get_devtype ()

-
const gchar *       g_udev_device_get_devtype           (GUdevDevice *device);
-

-Gets the device type for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The devtype for device.
-
-
-
-

g_udev_device_get_name ()

-
const gchar *       g_udev_device_get_name              (GUdevDevice *device);
-

-Gets the name of device, e.g. "sda3". -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The name of device.
-
-
-
-

g_udev_device_get_number ()

-
const gchar *       g_udev_device_get_number            (GUdevDevice *device);
-

-Gets the number of device, e.g. "3" if g_udev_device_get_name() returns "sda3". -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The number of device.
-
-
-
-

g_udev_device_get_sysfs_path ()

-
const gchar *       g_udev_device_get_sysfs_path        (GUdevDevice *device);
-

-Gets the sysfs path for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The sysfs path for device.
-
-
-
-

g_udev_device_get_driver ()

-
const gchar *       g_udev_device_get_driver            (GUdevDevice *device);
-

-Gets the name of the driver used for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The name of the driver for device or NULL if unknown.
-
-
-
-

g_udev_device_get_action ()

-
const gchar *       g_udev_device_get_action            (GUdevDevice *device);
-

-Gets the most recent action (e.g. "add", "remove", "change", etc.) for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

An action string.
-
-
-
-

g_udev_device_get_seqnum ()

-
guint64             g_udev_device_get_seqnum            (GUdevDevice *device);
-

-Gets the most recent sequence number for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

A sequence number.
-
-
-
-

g_udev_device_get_device_type ()

-
GUdevDeviceType     g_udev_device_get_device_type       (GUdevDevice *device);
-

-Gets the type of the device file, if any, for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The device number for device or G_UDEV_DEVICE_TYPE_NONE if the device does not have a device file.
-
-
-
-

g_udev_device_get_device_number ()

-
GUdevDeviceNumber   g_udev_device_get_device_number     (GUdevDevice *device);
-

-Gets the device number, if any, for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The device number for device or 0 if unknown.
-
-
-
-

g_udev_device_get_device_file ()

-
const gchar *       g_udev_device_get_device_file       (GUdevDevice *device);
-

-Gets the device file for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

The device file for device or NULL if no device file -exists.
-
-
-
-

g_udev_device_get_device_file_symlinks ()

-
const gchar * const * g_udev_device_get_device_file_symlinks
-                                                        (GUdevDevice *device);
-

-Gets a list of symlinks (in /dev) that points to -the device file for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

A NULL terminated string array of symlinks. This array is owned by device and should not be freed by the caller. [transfer none][array zero-terminated=1][element-type utf8] -
-
-
-
-

g_udev_device_get_parent ()

-
GUdevDevice *       g_udev_device_get_parent            (GUdevDevice *device);
-

-Gets the immediate parent of device, if any. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

A GUdevDevice or NULL if device has no parent. Free with g_object_unref(). [transfer full] -
-
-
-
-

g_udev_device_get_parent_with_subsystem ()

-
GUdevDevice *       g_udev_device_get_parent_with_subsystem
-                                                        (GUdevDevice *device,
-                                                         const gchar *subsystem,
-                                                         const gchar *devtype);
-

-Walks up the chain of parents of device and returns the first -device encountered where subsystem and devtype matches, if any. -

-
---- - - - - - - - - - - - - - - - - - - -

device :

A GUdevDevice.

subsystem :

The subsystem of the parent to get.

devtype :

The devtype of the parent to get or NULL. [allow-none] -

Returns :

A GUdevDevice or NULL if device has no parent with subsystem and devtype. Free with g_object_unref(). [transfer full] -
-
-
-
-

g_udev_device_get_tags ()

-
const gchar * const * g_udev_device_get_tags            (GUdevDevice *device);
-

-Gets all tags for device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

A NULL terminated string array of tags. This array is owned by device and should not be freed by the caller. [transfer none][array zero-terminated=1][element-type utf8] -
-

Since 165

-
-
-
-

g_udev_device_get_is_initialized ()

-
gboolean            g_udev_device_get_is_initialized    (GUdevDevice *device);
-

-Gets whether device has been initalized. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

Whether device has been initialized.
-

Since 165

-
-
-
-

g_udev_device_get_usec_since_initialized ()

-
guint64             g_udev_device_get_usec_since_initialized
-                                                        (GUdevDevice *device);
-

-Gets number of micro-seconds since device was initialized. -

-

-This only works for devices with properties in the udev -database. All other devices return 0. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

Number of micro-seconds since device was initialized or 0 if unknown.
-

Since 165

-
-
-
-

g_udev_device_get_property_keys ()

-
const gchar * const * g_udev_device_get_property_keys   (GUdevDevice *device);
-

-Gets all keys for properties on device. -

-
---- - - - - - - - - - - -

device :

A GUdevDevice.

Returns :

A NULL terminated string array of property keys. This array is owned by device and should not be freed by the caller. [transfer none][array zero-terminated=1][element-type utf8] -
-
-
-
-

g_udev_device_has_property ()

-
gboolean            g_udev_device_has_property          (GUdevDevice *device,
-                                                         const gchar *key);
-

-Check if a the property with the given key exists. -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

key :

Name of property.

Returns :

-TRUE only if the value for key exist.
-
-
-
-

g_udev_device_get_property ()

-
const gchar *       g_udev_device_get_property          (GUdevDevice *device,
-                                                         const gchar *key);
-

-Look up the value for key on device. -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

key :

Name of property.

Returns :

The value for key or NULL if key doesn't exist on device. Do not free this string, it is owned by device.
-
-
-
-

g_udev_device_get_property_as_int ()

-
gint                g_udev_device_get_property_as_int   (GUdevDevice *device,
-                                                         const gchar *key);
-

-Look up the value for key on device and convert it to an integer -using strtol(). -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

key :

Name of property.

Returns :

The value for key or 0 if key doesn't exist or -isn't an integer.
-
-
-
-

g_udev_device_get_property_as_uint64 ()

-
guint64             g_udev_device_get_property_as_uint64
-                                                        (GUdevDevice *device,
-                                                         const gchar *key);
-

-Look up the value for key on device and convert it to an unsigned -64-bit integer using g_ascii_strtoull(). -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

key :

Name of property.

Returns :

The value for key or 0 if key doesn't exist or isn't a -guint64.
-
-
-
-

g_udev_device_get_property_as_double ()

-
gdouble             g_udev_device_get_property_as_double
-                                                        (GUdevDevice *device,
-                                                         const gchar *key);
-

-Look up the value for key on device and convert it to a double -precision floating point number using strtod(). -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

key :

Name of property.

Returns :

The value for key or 0.0 if key doesn't exist or isn't a -gdouble.
-
-
-
-

g_udev_device_get_property_as_boolean ()

-
gboolean            g_udev_device_get_property_as_boolean
-                                                        (GUdevDevice *device,
-                                                         const gchar *key);
-

-Look up the value for key on device and convert it to an -boolean. This is done by doing a case-insensitive string comparison -on the string value against "1" and "true". -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

key :

Name of property.

Returns :

The value for key or FALSE if key doesn't exist or -isn't a gboolean.
-
-
-
-

g_udev_device_get_property_as_strv ()

-
const gchar * const * g_udev_device_get_property_as_strv
-                                                        (GUdevDevice *device,
-                                                         const gchar *key);
-

-Look up the value for key on device and return the result of -splitting it into non-empty tokens split at white space (only space -(' '), form-feed ('\f'), newline ('\n'), carriage return ('\r'), -horizontal tab ('\t'), and vertical tab ('\v') are considered; the -locale is not taken into account). -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

key :

Name of property.

Returns :

The value of key on device split into tokens or NULL if key doesn't exist. This array is owned by device and should not be freed by the caller. [transfer none][array zero-terminated=1][element-type utf8] -
-
-
-
-

g_udev_device_get_sysfs_attr ()

-
const gchar *       g_udev_device_get_sysfs_attr        (GUdevDevice *device,
-                                                         const gchar *name);
-

-Look up the sysfs attribute with name on device. -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

name :

Name of the sysfs attribute.

Returns :

The value of the sysfs attribute or NULL if there is no -such attribute. Do not free this string, it is owned by device.
-
-
-
-

g_udev_device_get_sysfs_attr_as_int ()

-
gint                g_udev_device_get_sysfs_attr_as_int (GUdevDevice *device,
-                                                         const gchar *name);
-

-Look up the sysfs attribute with name on device and convert it to an integer -using strtol(). -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

name :

Name of the sysfs attribute.

Returns :

The value of the sysfs attribute or 0 if there is no such -attribute.
-
-
-
-

g_udev_device_get_sysfs_attr_as_uint64 ()

-
guint64             g_udev_device_get_sysfs_attr_as_uint64
-                                                        (GUdevDevice *device,
-                                                         const gchar *name);
-

-Look up the sysfs attribute with name on device and convert it to an unsigned -64-bit integer using g_ascii_strtoull(). -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

name :

Name of the sysfs attribute.

Returns :

The value of the sysfs attribute or 0 if there is no such -attribute.
-
-
-
-

g_udev_device_get_sysfs_attr_as_double ()

-
gdouble             g_udev_device_get_sysfs_attr_as_double
-                                                        (GUdevDevice *device,
-                                                         const gchar *name);
-

-Look up the sysfs attribute with name on device and convert it to a double -precision floating point number using strtod(). -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

name :

Name of the sysfs attribute.

Returns :

The value of the sysfs attribute or 0.0 if there is no such -attribute.
-
-
-
-

g_udev_device_get_sysfs_attr_as_boolean ()

-
gboolean            g_udev_device_get_sysfs_attr_as_boolean
-                                                        (GUdevDevice *device,
-                                                         const gchar *name);
-

-Look up the sysfs attribute with name on device and convert it to an -boolean. This is done by doing a case-insensitive string comparison -on the string value against "1" and "true". -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

name :

Name of the sysfs attribute.

Returns :

The value of the sysfs attribute or FALSE if there is no such -attribute.
-
-
-
-

g_udev_device_get_sysfs_attr_as_strv ()

-
const gchar * const * g_udev_device_get_sysfs_attr_as_strv
-                                                        (GUdevDevice *device,
-                                                         const gchar *name);
-

-Look up the sysfs attribute with name on device and return the result of -splitting it into non-empty tokens split at white space (only space (' '), -form-feed ('\f'), newline ('\n'), carriage return ('\r'), horizontal -tab ('\t'), and vertical tab ('\v') are considered; the locale is -not taken into account). -

-
---- - - - - - - - - - - - - - - -

device :

A GUdevDevice.

name :

Name of the sysfs attribute.

Returns :

The value of the sysfs attribute split into tokens or NULL if there is no such attribute. This array is owned by device and should not be freed by the caller. [transfer none][array zero-terminated=1][element-type utf8] -
-
-
-
- - - \ No newline at end of file diff --git a/udev-lfs/gudev/GUdevEnumerator.html b/udev-lfs/gudev/GUdevEnumerator.html deleted file mode 100644 index 205ba223e..000000000 --- a/udev-lfs/gudev/GUdevEnumerator.html +++ /dev/null @@ -1,493 +0,0 @@ - - - - -GUdevEnumerator - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

GUdevEnumerator

-

GUdevEnumerator — Lookup and sort devices

-
-
-

Synopsis

-
                    GUdevEnumerator;
-struct              GUdevEnumeratorClass;
-GUdevEnumerator *   g_udev_enumerator_new               (GUdevClient *client);
-GUdevEnumerator *   g_udev_enumerator_add_match_subsystem
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *subsystem);
-GUdevEnumerator *   g_udev_enumerator_add_nomatch_subsystem
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *subsystem);
-GUdevEnumerator *   g_udev_enumerator_add_match_sysfs_attr
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *name,
-                                                         const gchar *value);
-GUdevEnumerator *   g_udev_enumerator_add_nomatch_sysfs_attr
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *name,
-                                                         const gchar *value);
-GUdevEnumerator *   g_udev_enumerator_add_match_property
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *name,
-                                                         const gchar *value);
-GUdevEnumerator *   g_udev_enumerator_add_match_name    (GUdevEnumerator *enumerator,
-                                                         const gchar *name);
-GUdevEnumerator *   g_udev_enumerator_add_match_tag     (GUdevEnumerator *enumerator,
-                                                         const gchar *tag);
-GUdevEnumerator *   g_udev_enumerator_add_match_is_initialized
-                                                        (GUdevEnumerator *enumerator);
-GUdevEnumerator *   g_udev_enumerator_add_sysfs_path    (GUdevEnumerator *enumerator,
-                                                         const gchar *sysfs_path);
-GList *             g_udev_enumerator_execute           (GUdevEnumerator *enumerator);
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----GUdevEnumerator
-
-
-
-

Properties

-
-  "client"                   GUdevClient*          : Read / Write / Construct Only
-
-
-
-

Description

-

-GUdevEnumerator is used to lookup and sort devices. -

-
-
-

Details

-
-

GUdevEnumerator

-
typedef struct _GUdevEnumerator GUdevEnumerator;
-

-The GUdevEnumerator struct is opaque and should not be accessed directly. -

-

Since 165

-
-
-
-

struct GUdevEnumeratorClass

-
struct GUdevEnumeratorClass {
-  GObjectClass   parent_class;
-};
-
-

-Class structure for GUdevEnumerator. -

-
---- - - - - -

GObjectClass parent_class;

Parent class.
-

Since 165

-
-
-
-

g_udev_enumerator_new ()

-
GUdevEnumerator *   g_udev_enumerator_new               (GUdevClient *client);
-

-Constructs a GUdevEnumerator object that can be used to enumerate -and sort devices. Use the add_match_*() and add_nomatch_*() methods -and execute the query to get a list of devices with -g_udev_enumerator_execute(). -

-
---- - - - - - - - - - - -

client :

A GUdevClient to enumerate devices from.

Returns :

A new GUdevEnumerator object. Free with g_object_unref().
-

Since 165

-
-
-
-

g_udev_enumerator_add_match_subsystem ()

-
GUdevEnumerator *   g_udev_enumerator_add_match_subsystem
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *subsystem);
-

-All returned devices will match the given subsystem. -

-
---- - - - - - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

subsystem :

Wildcard for subsystem name e.g. 'scsi' or 'a*'.

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_add_nomatch_subsystem ()

-
GUdevEnumerator *   g_udev_enumerator_add_nomatch_subsystem
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *subsystem);
-

-All returned devices will not match the given subsystem. -

-
---- - - - - - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

subsystem :

Wildcard for subsystem name e.g. 'scsi' or 'a*'.

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_add_match_sysfs_attr ()

-
GUdevEnumerator *   g_udev_enumerator_add_match_sysfs_attr
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *name,
-                                                         const gchar *value);
-

-All returned devices will have a sysfs attribute matching the given name and value. -

-
---- - - - - - - - - - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

name :

Wildcard filter for sysfs attribute key.

value :

Wildcard filter for sysfs attribute value.

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_add_nomatch_sysfs_attr ()

-
GUdevEnumerator *   g_udev_enumerator_add_nomatch_sysfs_attr
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *name,
-                                                         const gchar *value);
-

-All returned devices will not have a sysfs attribute matching the given name and value. -

-
---- - - - - - - - - - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

name :

Wildcard filter for sysfs attribute key.

value :

Wildcard filter for sysfs attribute value.

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_add_match_property ()

-
GUdevEnumerator *   g_udev_enumerator_add_match_property
-                                                        (GUdevEnumerator *enumerator,
-                                                         const gchar *name,
-                                                         const gchar *value);
-

-All returned devices will have a property matching the given name and value. -

-
---- - - - - - - - - - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

name :

Wildcard filter for property name.

value :

Wildcard filter for property value.

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_add_match_name ()

-
GUdevEnumerator *   g_udev_enumerator_add_match_name    (GUdevEnumerator *enumerator,
-                                                         const gchar *name);
-

-All returned devices will match the given name. -

-
---- - - - - - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

name :

Wildcard filter for kernel name e.g. "sda*".

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_add_match_tag ()

-
GUdevEnumerator *   g_udev_enumerator_add_match_tag     (GUdevEnumerator *enumerator,
-                                                         const gchar *tag);
-

-All returned devices will match the given tag. -

-
---- - - - - - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

tag :

A udev tag e.g. "udev-acl".

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_add_match_is_initialized ()

-
GUdevEnumerator *   g_udev_enumerator_add_match_is_initialized
-                                                        (GUdevEnumerator *enumerator);
-

-All returned devices will be initialized. -

-
---- - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_add_sysfs_path ()

-
GUdevEnumerator *   g_udev_enumerator_add_sysfs_path    (GUdevEnumerator *enumerator,
-                                                         const gchar *sysfs_path);
-

-Add a device to the list of devices, to retrieve it back sorted in dependency order. -

-
---- - - - - - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

sysfs_path :

A sysfs path, e.g. "/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda"

Returns :

The passed in enumerator. [transfer none] -
-

Since 165

-
-
-
-

g_udev_enumerator_execute ()

-
GList *             g_udev_enumerator_execute           (GUdevEnumerator *enumerator);
-

-Executes the query in enumerator. -

-
---- - - - - - - - - - - -

enumerator :

A GUdevEnumerator.

Returns :

A list of GUdevDevice objects. The caller should free the result by using g_object_unref() on each element in the list and then g_list_free() on the list. [element-type GUdevDevice][transfer full] -
-

Since 165

-
-
-
-

Property Details

-
-

The "client" property

-
  "client"                   GUdevClient*          : Read / Write / Construct Only
-

-The GUdevClient to enumerate devices from. -

-

Since 165

-
-
-
- - - \ No newline at end of file diff --git a/udev-lfs/gudev/annotation-glossary.html b/udev-lfs/gudev/annotation-glossary.html deleted file mode 100644 index 36962371e..000000000 --- a/udev-lfs/gudev/annotation-glossary.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - -Annotation Glossary - - - - - - - - - - - - - - - - - - -
-

-Annotation Glossary

-

A

-
-array
-

Parameter points to an array of items.

-
-allow-none
-

NULL is ok, both for passing and for returning.

-

E

-
-element-type
-

Generics and defining elements of containers and arrays.

-

T

-
-transfer full
-

Free data after the code is done.

-
-transfer none
-

Don't free data after the code is done.

-
- - - \ No newline at end of file diff --git a/udev-lfs/gudev/api-index-deprecated.html b/udev-lfs/gudev/api-index-deprecated.html deleted file mode 100644 index 6313084bc..000000000 --- a/udev-lfs/gudev/api-index-deprecated.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - -Index of deprecated API - - - - - - - - - - - - - - - - -
-

-Index of deprecated API

- -
- - - \ No newline at end of file diff --git a/udev-lfs/gudev/api-index-full.html b/udev-lfs/gudev/api-index-full.html deleted file mode 100644 index d76cc85e7..000000000 --- a/udev-lfs/gudev/api-index-full.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - -API Index - - - - - - - - - - - - - - - - - - - -
-

-API Index

-

C

-
-g_udev_client_new, function in GUdevClient -
-
-
-g_udev_client_query_by_device_file, function in GUdevClient -
-
-
-g_udev_client_query_by_device_number, function in GUdevClient -
-
-
-g_udev_client_query_by_subsystem, function in GUdevClient -
-
-
-g_udev_client_query_by_subsystem_and_name, function in GUdevClient -
-
-
-g_udev_client_query_by_sysfs_path, function in GUdevClient -
-
-

D

-
-g_udev_device_get_action, function in GUdevDevice -
-
-
-g_udev_device_get_device_file, function in GUdevDevice -
-
-
-g_udev_device_get_device_file_symlinks, function in GUdevDevice -
-
-
-g_udev_device_get_device_number, function in GUdevDevice -
-
-
-g_udev_device_get_device_type, function in GUdevDevice -
-
-
-g_udev_device_get_devtype, function in GUdevDevice -
-
-
-g_udev_device_get_driver, function in GUdevDevice -
-
-
-g_udev_device_get_is_initialized, function in GUdevDevice -
-
-
-g_udev_device_get_name, function in GUdevDevice -
-
-
-g_udev_device_get_number, function in GUdevDevice -
-
-
-g_udev_device_get_parent, function in GUdevDevice -
-
-
-g_udev_device_get_parent_with_subsystem, function in GUdevDevice -
-
-
-g_udev_device_get_property, function in GUdevDevice -
-
-
-g_udev_device_get_property_as_boolean, function in GUdevDevice -
-
-
-g_udev_device_get_property_as_double, function in GUdevDevice -
-
-
-g_udev_device_get_property_as_int, function in GUdevDevice -
-
-
-g_udev_device_get_property_as_strv, function in GUdevDevice -
-
-
-g_udev_device_get_property_as_uint64, function in GUdevDevice -
-
-
-g_udev_device_get_property_keys, function in GUdevDevice -
-
-
-g_udev_device_get_seqnum, function in GUdevDevice -
-
-
-g_udev_device_get_subsystem, function in GUdevDevice -
-
-
-g_udev_device_get_sysfs_attr, function in GUdevDevice -
-
-
-g_udev_device_get_sysfs_attr_as_boolean, function in GUdevDevice -
-
-
-g_udev_device_get_sysfs_attr_as_double, function in GUdevDevice -
-
-
-g_udev_device_get_sysfs_attr_as_int, function in GUdevDevice -
-
-
-g_udev_device_get_sysfs_attr_as_strv, function in GUdevDevice -
-
-
-g_udev_device_get_sysfs_attr_as_uint64, function in GUdevDevice -
-
-
-g_udev_device_get_sysfs_path, function in GUdevDevice -
-
-
-g_udev_device_get_tags, function in GUdevDevice -
-
-
-g_udev_device_get_usec_since_initialized, function in GUdevDevice -
-
-
-g_udev_device_has_property, function in GUdevDevice -
-
-

E

-
-g_udev_enumerator_add_match_is_initialized, function in GUdevEnumerator -
-
-
-g_udev_enumerator_add_match_name, function in GUdevEnumerator -
-
-
-g_udev_enumerator_add_match_property, function in GUdevEnumerator -
-
-
-g_udev_enumerator_add_match_subsystem, function in GUdevEnumerator -
-
-
-g_udev_enumerator_add_match_sysfs_attr, function in GUdevEnumerator -
-
-
-g_udev_enumerator_add_match_tag, function in GUdevEnumerator -
-
-
-g_udev_enumerator_add_nomatch_subsystem, function in GUdevEnumerator -
-
-
-g_udev_enumerator_add_nomatch_sysfs_attr, function in GUdevEnumerator -
-
-
-g_udev_enumerator_add_sysfs_path, function in GUdevEnumerator -
-
-
-g_udev_enumerator_execute, function in GUdevEnumerator -
-
-
-g_udev_enumerator_new, function in GUdevEnumerator -
-
-

G

-
-GUdevClient, struct in GUdevClient -
-
-
-GUdevClient::uevent, object signal in GUdevClient -
-
-
-GUdevClient:subsystems, object property in GUdevClient -
-
-
-GUdevClientClass, struct in GUdevClient -
-
-
-GUdevDevice, struct in GUdevDevice -
-
-
-GUdevDeviceClass, struct in GUdevDevice -
-
-
-GUdevDeviceNumber, typedef in GUdevClient -
-
-
-GUdevDeviceType, enum in GUdevClient -
-
-
-GUdevEnumerator, struct in GUdevEnumerator -
-
-
-GUdevEnumerator:client, object property in GUdevEnumerator -
-
-
-GUdevEnumeratorClass, struct in GUdevEnumerator -
-
-
- - - \ No newline at end of file diff --git a/udev-lfs/gudev/gudev-hierarchy.html b/udev-lfs/gudev/gudev-hierarchy.html deleted file mode 100644 index 7ff7ac38c..000000000 --- a/udev-lfs/gudev/gudev-hierarchy.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Object Hierarchy - - - - - - - - - - - - - - - - -
-

-Object Hierarchy

-
-    GObject
-        GUdevDevice
-        GUdevClient
-        GUdevEnumerator
-    GEnum
-        GUdevDeviceType
-
-
- - - \ No newline at end of file diff --git a/udev-lfs/gudev/gudev.devhelp2 b/udev-lfs/gudev/gudev.devhelp2 deleted file mode 100644 index ab7cc30c2..000000000 --- a/udev-lfs/gudev/gudev.devhelp2 +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/udev-lfs/gudev/home.png b/udev-lfs/gudev/home.png deleted file mode 100644 index 17003611d..000000000 Binary files a/udev-lfs/gudev/home.png and /dev/null differ diff --git a/udev-lfs/gudev/index.html b/udev-lfs/gudev/index.html deleted file mode 100644 index 585bd639c..000000000 --- a/udev-lfs/gudev/index.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - -GUdev Reference Manual - - - - - - - -
-
-
-
-

- For version 200 - — the latest version of this - documentation can be found at - - http://www.freedesktop.org/software/systemd/gudev/ - . -

-
-
-
-
-
-
API Reference
-
-
-GUdevClient — Query devices and listen to uevents -
-
-GUdevDevice — Get information about a device -
-
-GUdevEnumerator — Lookup and sort devices -
-
-
Object Hierarchy
-
API Index
-
Index of new symbols in 165
-
Index of deprecated API
-
Annotation Glossary
-
-
- - - diff --git a/udev-lfs/gudev/index.sgml b/udev-lfs/gudev/index.sgml deleted file mode 100644 index f92571122..000000000 --- a/udev-lfs/gudev/index.sgml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/udev-lfs/gudev/ix02.html b/udev-lfs/gudev/ix02.html deleted file mode 100644 index 046cf450c..000000000 --- a/udev-lfs/gudev/ix02.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - -Index of new symbols in 165 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/udev-lfs/gudev/left.png b/udev-lfs/gudev/left.png deleted file mode 100644 index 2d05b3d5b..000000000 Binary files a/udev-lfs/gudev/left.png and /dev/null differ diff --git a/udev-lfs/gudev/ref-API.html b/udev-lfs/gudev/ref-API.html deleted file mode 100644 index 52e9e9a1b..000000000 --- a/udev-lfs/gudev/ref-API.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - -API Reference - - - - - - - - - - - - - - - - -
-

-API Reference

-
-
-GUdevClient — Query devices and listen to uevents -
-
-GUdevDevice — Get information about a device -
-
-GUdevEnumerator — Lookup and sort devices -
-
-
- - - \ No newline at end of file diff --git a/udev-lfs/gudev/right.png b/udev-lfs/gudev/right.png deleted file mode 100644 index 92832e3a4..000000000 Binary files a/udev-lfs/gudev/right.png and /dev/null differ diff --git a/udev-lfs/gudev/style.css b/udev-lfs/gudev/style.css deleted file mode 100644 index d6f6c26ec..000000000 --- a/udev-lfs/gudev/style.css +++ /dev/null @@ -1,266 +0,0 @@ -.synopsis, .classsynopsis -{ - /* tango:aluminium 1/2 */ - background: #eeeeec; - border: solid 1px #d3d7cf; - padding: 0.5em; -} -.programlisting -{ - /* tango:sky blue 0/1 */ - background: #e6f3ff; - border: solid 1px #729fcf; - padding: 0.5em; -} -.variablelist -{ - padding: 4px; - margin-left: 3em; -} -.variablelist td:first-child -{ - vertical-align: top; -} - -@media screen { - sup a.footnote - { - position: relative; - top: 0em ! important; - - } - /* this is needed so that the local anchors are displayed below the naviagtion */ - div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] - { - display: inline-block; - position: relative; - top:-5em; - } - /* this seems to be a bug in the xsl style sheets when generating indexes */ - div.index div.index - { - top: 0em; - } - /* make space for the fixed navigation bar and add space at the bottom so that - * link targets appear somewhat close to top - */ - body - { - padding-top: 3.2em; - padding-bottom: 20em; - } - /* style and size the navigation bar */ - table.navigation#top - { - position: fixed; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - z-index: 10; - } - .navigation a, .navigation a:visited - { - /* tango:scarlet red 3 */ - color: #a40000; - } - .navigation a:hover - { - /* tango:scarlet red 1 */ - color: #ef2929; - } - td.shortcuts - { - /* tango:scarlet red 1 */ - color: #ef2929; - font-size: 80%; - white-space: nowrap; - } -} -@media print { - table.navigation { - visibility: collapse; - display: none; - } - div.titlepage table.navigation { - visibility: visible; - display: table; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - } -} - -.navigation .title -{ - font-size: 200%; -} - -div.gallery-float -{ - float: left; - padding: 10px; -} -div.gallery-float img -{ - border-style: none; -} -div.gallery-spacer -{ - clear: both; -} - -a, a:visited -{ - text-decoration: none; - /* tango:sky blue 2 */ - color: #3465a4; -} -a:hover -{ - text-decoration: underline; - /* tango:sky blue 1 */ - color: #729fcf; -} - -div.table table -{ - border-collapse: collapse; - border-spacing: 0px; - /* tango:aluminium 3 */ - border: solid 1px #babdb6; -} - -div.table table td, div.table table th -{ - /* tango:aluminium 3 */ - border: solid 1px #babdb6; - padding: 3px; - vertical-align: top; -} - -div.table table th -{ - /* tango:aluminium 2 */ - background-color: #d3d7cf; -} - -hr -{ - /* tango:aluminium 3 */ - color: #babdb6; - background: #babdb6; - border: none 0px; - height: 1px; - clear: both; -} - -.footer -{ - padding-top: 3.5em; - /* tango:aluminium 3 */ - color: #babdb6; - text-align: center; - font-size: 80%; -} - -.warning -{ - /* tango:orange 0/1 */ - background: #ffeed9; - border-color: #ffb04f; -} -.note -{ - /* tango:chameleon 0/0.5 */ - background: #d8ffb2; - border-color: #abf562; -} -.note, .warning -{ - padding: 0.5em; - border-width: 1px; - border-style: solid; -} -.note h3, .warning h3 -{ - margin-top: 0.0em -} -.note p, .warning p -{ - margin-bottom: 0.0em -} - -/* blob links */ -h2 .extralinks, h3 .extralinks -{ - float: right; - /* tango:aluminium 3 */ - color: #babdb6; - font-size: 80%; - font-weight: normal; -} - -.annotation -{ - /* tango:aluminium 5 */ - color: #555753; - font-size: 80%; - font-weight: normal; -} - -/* code listings */ - -.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ -.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ -.listing_code .programlisting .function { color: #000000; font-weight: bold; } -.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ -.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ -.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ -.listing_code .programlisting .normal { color: #000000; } -.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ -.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ -.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ -.listing_code .programlisting .type { color: #000000; } -.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ -.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ - -.listing_frame { - /* tango:sky blue 1 */ - border: solid 1px #729fcf; - padding: 0px; -} - -.listing_lines, .listing_code { - margin-top: 0px; - margin-bottom: 0px; - padding: 0.5em; -} -.listing_lines { - /* tango:sky blue 0.5 */ - background: #a6c5e3; - /* tango:aluminium 6 */ - color: #2e3436; -} -.listing_code { - /* tango:sky blue 0 */ - background: #e6f3ff; -} -.listing_code .programlisting { - /* override from previous */ - border: none 0px; - padding: 0px; -} -.listing_lines pre, .listing_code pre { - margin: 0px; -} - diff --git a/udev-lfs/gudev/up.png b/udev-lfs/gudev/up.png deleted file mode 100644 index 85b3e2a27..000000000 Binary files a/udev-lfs/gudev/up.png and /dev/null differ diff --git a/udev-lfs/makefile-incl.gudev b/udev-lfs/makefile-incl.gudev index ec0e3982a..bebabd7df 100644 --- a/udev-lfs/makefile-incl.gudev +++ b/udev-lfs/makefile-incl.gudev @@ -44,7 +44,7 @@ GUDEV_GENERATED = \ LIBGUDEV = libgudev-1.0 LIBGUDEV_MAJOR = .0 LIBGUDEV_MINOR = .1 -LIBGUDEV_PATCH = .2 +LIBGUDEV_PATCH = .3 LIBGUDEV_SONAME := $(LIBGUDEV).so LIBGUDEV_LINK_NAME := $(LIBGUDEV_SONAME)$(LIBGUDEV_MAJOR) LIBGUDEV_REAL_NAME := $(LIBGUDEV_LINK_NAME)$(LIBGUDEV_MINOR)$(LIBGUDEV_PATCH) @@ -104,5 +104,5 @@ install-gudev: gudev @ln -svfn $(LIBGUDEV_REAL_NAME) $(DESTDIR)/usr/lib/$(LIBGUDEV_LINK_NAME) @cp -v build/gudev-1.0.pc $(DESTDIR)/usr/lib/pkgconfig - @cp -v udev-lfs-$(VERSION)/gudev/* $(DESTDIR)/usr/share/gtk-doc/html/gudev + @cp -v docs/gudev/html/* $(DESTDIR)/usr/share/gtk-doc/html/gudev diff --git a/udev-lfs/makefile-incl.keymap b/udev-lfs/makefile-incl.keymap index 67c9bb65a..f8921b61d 100644 --- a/udev-lfs/makefile-incl.keymap +++ b/udev-lfs/makefile-incl.keymap @@ -2,76 +2,8 @@ # vim: tabstop=3 -KEYMAPS = \ - keymaps/acer \ - keymaps/acer-aspire_5720 \ - keymaps/acer-aspire_5920g \ - keymaps/acer-aspire_6920 \ - keymaps/acer-aspire_8930 \ - keymaps/acer-travelmate_c300 \ - keymaps/asus \ - keymaps/compaq-e_evo \ - keymaps/dell \ - keymaps/dell-latitude-xt2 \ - keymaps/everex-xt5000 \ - keymaps/fujitsu-amilo_li_2732 \ - keymaps/fujitsu-amilo_pa_2548 \ - keymaps/fujitsu-amilo_pro_edition_v3505 \ - keymaps/fujitsu-amilo_pro_v3205 \ - keymaps/fujitsu-amilo_si_1520 \ - keymaps/fujitsu-esprimo_mobile_v5 \ - keymaps/fujitsu-esprimo_mobile_v6 \ - keymaps/genius-slimstar-320 \ - keymaps/hewlett-packard \ - keymaps/hewlett-packard-2510p_2530p \ - keymaps/hewlett-packard-compaq_elitebook \ - keymaps/hewlett-packard_elitebook-8440p \ - keymaps/hewlett-packard-hdx9494nr \ - keymaps/hewlett-packard-pavilion \ - keymaps/hewlett-packard-presario-2100 \ - keymaps/hewlett-packard-tablet \ - keymaps/hewlett-packard-tx2 \ - keymaps/ibm-thinkpad-usb-keyboard-trackpoint \ - keymaps/inventec-symphony_6.0_7.0 \ - keymaps/lenovo-3000 \ - keymaps/lenovo-ideapad \ - keymaps/lenovo-thinkpad-usb-keyboard-trackpoint \ - keymaps/lenovo-thinkpad_x200_tablet \ - keymaps/lenovo-thinkpad_x6_tablet \ - keymaps/lg-x110 \ - keymaps/logitech-wave \ - keymaps/logitech-wave-cordless \ - keymaps/logitech-wave-pro-cordless \ - keymaps/maxdata-pro_7000 \ - keymaps/medion-fid2060 \ - keymaps/medionnb-a555 \ - keymaps/micro-star \ - keymaps/module-asus-w3j \ - keymaps/module-ibm \ - keymaps/module-lenovo \ - keymaps/module-sony \ - keymaps/module-sony-old \ - keymaps/module-sony-vgn \ - keymaps/module-sony-vpc \ - keymaps/olpc-xo \ - keymaps/onkyo \ - keymaps/oqo-model2 \ - keymaps/samsung-other \ - keymaps/samsung-series-9 \ - keymaps/samsung-sq1us \ - keymaps/samsung-sx20s \ - keymaps/toshiba-satellite_a100 \ - keymaps/toshiba-satellite_a110 \ - keymaps/toshiba-satellite_m30x \ - keymaps/zepto-znote - -KEYMAPS_FR = \ - keymaps-force-release/common-volume-keys \ - keymaps-force-release/dell-touchpad \ - keymaps-force-release/dell-xps \ - keymaps-force-release/hp-other \ - keymaps-force-release/samsung-other \ - keymaps-force-release/samsung-series-9 \ +KEYMAPS = $(shell ls keymaps/* | sort) +KEYMAPS_FR = $(shell ls keymaps-force-release/* | sort) KEYMAP_DEPS = common src/udev/keymap/keys-from-name.h src/udev/keymap/keys-to-name.h diff --git a/udev-lfs/udev.7 b/udev-lfs/udev.7 index ee9700778..1feb73c28 100644 --- a/udev-lfs/udev.7 +++ b/udev-lfs/udev.7 @@ -1,5 +1,5 @@ '\" t -.TH "UDEV" "7" "" "systemd 200" "udev" +.TH "UDEV" "7" "" "systemd 201" "udev" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/udev-lfs/udevadm.8 b/udev-lfs/udevadm.8 index 2b50a9b91..3efa44bf9 100644 --- a/udev-lfs/udevadm.8 +++ b/udev-lfs/udevadm.8 @@ -1,5 +1,5 @@ '\" t -.TH "UDEVADM" "8" "" "systemd 200" "udevadm" +.TH "UDEVADM" "8" "" "systemd 201" "udevadm" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/udev-lfs/udevd.8 b/udev-lfs/udevd.8 index c434f7c09..1e1c8e95d 100644 --- a/udev-lfs/udevd.8 +++ b/udev-lfs/udevd.8 @@ -1,5 +1,5 @@ '\" t -.TH "SYSTEMD\-UDEVD\&.SERVICE" "8" "" "systemd 200" "udevd" +.TH "SYSTEMD\-UDEVD\&.SERVICE" "8" "" "systemd 201" "udevd" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- -- cgit v1.2.3-54-g00ecf