libsysfs.h | libsysfs.h | |||
---|---|---|---|---|
skipping to change at line 187 | skipping to change at line 187 | |||
extern struct sysfs_class_device *sysfs_open_class_device | extern struct sysfs_class_device *sysfs_open_class_device | |||
(const char *classname, const char *name); | (const char *classname, const char *name); | |||
extern struct sysfs_class_device *sysfs_get_classdev_parent | extern struct sysfs_class_device *sysfs_get_classdev_parent | |||
(struct sysfs_class_device *clsdev); | (struct sysfs_class_device *clsdev); | |||
extern struct sysfs_attribute *sysfs_get_classdev_attr | extern struct sysfs_attribute *sysfs_get_classdev_attr | |||
(struct sysfs_class_device *clsdev, const char *name); | (struct sysfs_class_device *clsdev, const char *name); | |||
extern struct dlist *sysfs_get_classdev_attributes | extern struct dlist *sysfs_get_classdev_attributes | |||
(struct sysfs_class_device *clsdev); | (struct sysfs_class_device *clsdev); | |||
extern struct sysfs_device *sysfs_get_classdev_device | extern struct sysfs_device *sysfs_get_classdev_device | |||
(struct sysfs_class_device *clsdev); | (struct sysfs_class_device *clsdev); | |||
extern void sysfs_close_class(struct sysfs_class *cls); | ||||
extern struct sysfs_class *sysfs_open_class(const char *name); | ||||
extern struct sysfs_class_device *sysfs_get_class_device | ||||
(struct sysfs_class *cls, const char *name); | ||||
extern struct dlist *sysfs_get_class_devices(struct sysfs_class *cls); | ||||
/* generic sysfs bus access */ | ||||
extern void sysfs_close_bus(struct sysfs_bus *bus); | ||||
extern struct sysfs_bus *sysfs_open_bus(const char *name); | ||||
extern struct dlist *sysfs_get_bus_devices(struct sysfs_bus *bus); | ||||
extern struct dlist *sysfs_get_bus_drivers(struct sysfs_bus *bus); | ||||
extern struct sysfs_device *sysfs_get_bus_device | ||||
(struct sysfs_bus *bus, const char *id); | ||||
extern struct sysfs_driver *sysfs_get_bus_driver | ||||
(struct sysfs_bus *bus, const char *drvname); | ||||
/** | /** | |||
* sort_list: sorter function to keep list elements sorted in alphabetical | * sort_list: sorter function to keep list elements sorted in alphabetical | |||
* order. Just does a strncmp as you can see :) | * order. Just does a strncmp as you can see :) | |||
* | * | |||
* Returns 1 if less than 0 otherwise | * Returns 1 if less than 0 otherwise | |||
* | * | |||
* NOTE: We take care to have a statically allocated "name" as the first | * NOTE: We take care to have a statically allocated "name" as the first | |||
* lement of all libsysfs structures. Hence, this function will work | * lement of all libsysfs structures. Hence, this function will work | |||
* AS IS for _ALL_ the lists that have to be sorted. | * AS IS for _ALL_ the lists that have to be sorted. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 15 lines changed or added | |||
sysfs.h | sysfs.h | |||
---|---|---|---|---|
/* | /* | |||
* sysfs.h | * sysfs.h | |||
* | * | |||
* Internal Header Definitions for libsysfs | * Internal Header Definitions for libsysfs | |||
* | * | |||
* Copyright (C) IBM Corp. 2003 | * Copyright (C) IBM Corp. 2003-2005 | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
udev_version.h | udev_version.h | |||
---|---|---|---|---|
#define UDEV_VERSION "057" | #define UDEV_VERSION "058" | |||
#define UDEV_ROOT "/udev" | #define UDEV_ROOT "/udev" | |||
#define UDEV_DB "/udev/.udevdb" | #define UDEV_DB "/udev/.udevdb" | |||
#define UDEV_CONFIG_DIR "/etc/udev" | #define UDEV_CONFIG_DIR "/etc/udev" | |||
#define UDEV_CONFIG_FILE "/etc/udev/udev.conf" | #define UDEV_CONFIG_FILE "/etc/udev/udev.conf" | |||
#define UDEV_RULES_FILE "/etc/udev/rules.d" | #define UDEV_RULES_FILE "/etc/udev/rules.d" | |||
#define UDEV_BIN "/sbin/udev" | #define UDEV_BIN "/sbin/udev" | |||
#define UDEVD_BIN "/sbin/udevd" | #define UDEVD_BIN "/sbin/udevd" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||