| udev.h | | udev.h | |
| | | | |
| skipping to change at line 36 | | skipping to change at line 36 | |
| #include <sys/param.h> | | #include <sys/param.h> | |
| | | | |
| #include "list.h" | | #include "list.h" | |
| #include "logging.h" | | #include "logging.h" | |
| #include "udev_libc_wrapper.h" | | #include "udev_libc_wrapper.h" | |
| #include "udev_version.h" | | #include "udev_version.h" | |
| | | | |
| #define COMMENT_CHARACTER '#' | | #define COMMENT_CHARACTER '#' | |
| #define PATH_TO_NAME_CHAR '@' | | #define PATH_TO_NAME_CHAR '@' | |
| #define LINE_SIZE 512 | | #define LINE_SIZE 512 | |
|
| | | #define PATH_SIZE 512 | |
| #define NAME_SIZE 128 | | #define NAME_SIZE 128 | |
|
| #define PATH_SIZE 256 | | | |
| #define USER_SIZE 32 | | | |
| #define SEQNUM_SIZE 32 | | | |
| #define VALUE_SIZE 128 | | #define VALUE_SIZE 128 | |
| | | | |
| #define DEFAULT_PARTITIONS_COUNT 15 | | #define DEFAULT_PARTITIONS_COUNT 15 | |
| #define UDEV_ALARM_TIMEOUT 180 | | #define UDEV_ALARM_TIMEOUT 180 | |
| | | | |
| #define UDEV_MAX(a,b) ((a) > (b) ? (a) : (b)) | | #define UDEV_MAX(a,b) ((a) > (b) ? (a) : (b)) | |
| | | | |
| /* pipes */ | | /* pipes */ | |
| #define READ_END 0 | | #define READ_END 0 | |
| #define WRITE_END 1 | | #define WRITE_END 1 | |
| | | | |
| skipping to change at line 76 | | skipping to change at line 74 | |
| /* device event */ | | /* device event */ | |
| struct sysfs_device *dev; /* points to dev_local by de
fault */ | | struct sysfs_device *dev; /* points to dev_local by de
fault */ | |
| struct sysfs_device dev_local; | | struct sysfs_device dev_local; | |
| struct sysfs_device *dev_parent; /* current parent device use
d for matching */ | | struct sysfs_device *dev_parent; /* current parent device use
d for matching */ | |
| char action[NAME_SIZE]; | | char action[NAME_SIZE]; | |
| | | | |
| /* node */ | | /* node */ | |
| char name[PATH_SIZE]; | | char name[PATH_SIZE]; | |
| struct list_head symlink_list; | | struct list_head symlink_list; | |
| int symlink_final; | | int symlink_final; | |
|
| char owner[USER_SIZE]; | | char owner[NAME_SIZE]; | |
| int owner_final; | | int owner_final; | |
|
| char group[USER_SIZE]; | | char group[NAME_SIZE]; | |
| int group_final; | | int group_final; | |
| mode_t mode; | | mode_t mode; | |
| int mode_final; | | int mode_final; | |
| dev_t devt; | | dev_t devt; | |
| | | | |
| /* event processing */ | | /* event processing */ | |
| struct list_head run_list; | | struct list_head run_list; | |
| int run_final; | | int run_final; | |
| struct list_head env_list; | | struct list_head env_list; | |
| char tmp_node[PATH_SIZE]; | | char tmp_node[PATH_SIZE]; | |
| | | | |
End of changes. 4 change blocks. |
| 5 lines changed or deleted | | 3 lines changed or added | |
|