Defines | |
#define | strcat_len(dst, src) |
Functions | |
int | get_sysfs_mnt_path () |
Get the mount path for sysfs. | |
int | wait_for_sysfs_info (char *devpath, char *hotplug_type) |
int | main (int argc, char *argv[], char *envp[]) |
Entry point. | |
Variables | |
char | sysfs_mnt_path [PATH_MAX] |
const char * | file_list_usb [] |
const char * | file_list_usbif [] |
const char * | file_list_scsi_device [] = { NULL } |
const char * | file_list_scsi_generic [] = { NULL } |
const char * | file_list_scsi_host [] = { NULL } |
const char * | file_list_block [] |
const char * | file_list_pci [] |
|
Value: do { \ dst[sizeof (dst) - 1] = '\0'; \ strncat (dst, src, sizeof (dst) - strlen (dst) - 1); \ } while(0) Definition at line 144 of file hal_hotplug.c. |
|
Get the mount path for sysfs. A side-effect is that sysfs_mnt_path is set on success.
Definition at line 66 of file hal_hotplug.c. |
|
Entry point.
Definition at line 262 of file hal_hotplug.c. References get_sysfs_mnt_path(). |
|
Initial value: { "dev", "size", NULL } Definition at line 128 of file hal_hotplug.c. |
|
Initial value: { "device", "vendor", "subsystem_device", "subsystem_vendor", "class", NULL } Definition at line 134 of file hal_hotplug.c. |
|
Initial value: { "idProduct", "idVendor", "bcdDevice", "bMaxPower", "bmAttributes", "manufacturer", "product", "bDeviceClass", "bDeviceSubClass", "bDeviceProtocol", "bNumConfigurations", "bConfigurationValue", "bNumInterfaces", NULL } Definition at line 96 of file hal_hotplug.c. |
|
Initial value: { "bInterfaceClass", "bInterfaceSubClass", "bInterfaceProtocol", "bInterfaceNumber", NULL } Definition at line 114 of file hal_hotplug.c. |