| udev.h | | udev.h | |
| | | | |
| skipping to change at line 42 | | skipping to change at line 42 | |
| #define LINE_SIZE 512 | | #define LINE_SIZE 512 | |
| #define PATH_SIZE 512 | | #define PATH_SIZE 512 | |
| #define NAME_SIZE 256 | | #define NAME_SIZE 256 | |
| #define VALUE_SIZE 128 | | #define VALUE_SIZE 128 | |
| | | | |
| #define ALLOWED_CHARS "#+-.:=@_" | | #define ALLOWED_CHARS "#+-.:=@_" | |
| #define ALLOWED_CHARS_FILE ALLOWED_CHARS "/" | | #define ALLOWED_CHARS_FILE ALLOWED_CHARS "/" | |
| #define ALLOWED_CHARS_INPUT ALLOWED_CHARS_FILE " $%?," | | #define ALLOWED_CHARS_INPUT ALLOWED_CHARS_FILE " $%?," | |
| | | | |
| #define DEFAULT_PARTITIONS_COUNT 15 | | #define DEFAULT_PARTITIONS_COUNT 15 | |
|
| #define UDEV_ALARM_TIMEOUT 180 | | #define UDEV_EVENT_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 | |
| | | | |
| #define DB_DIR ".udev/db" | | #define DB_DIR ".udev/db" | |
| #define DB_NAME_INDEX_DIR ".udev/names" | | #define DB_NAME_INDEX_DIR ".udev/names" | |
| #define RULES_DYN_DIR ".udev/rules.d" | | #define RULES_DYN_DIR ".udev/rules.d" | |
| | | | |
| skipping to change at line 96 | | skipping to change at line 96 | |
| /* 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]; | |
| int partitions; | | int partitions; | |
| int ignore_device; | | int ignore_device; | |
| int ignore_remove; | | int ignore_remove; | |
| char program_result[PATH_SIZE]; | | char program_result[PATH_SIZE]; | |
| int link_priority; | | int link_priority; | |
|
| | | int event_timeout; | |
| int test_run; | | int test_run; | |
| }; | | }; | |
| | | | |
| /* udev_config.c */ | | /* udev_config.c */ | |
| extern char udev_root[PATH_SIZE]; | | extern char udev_root[PATH_SIZE]; | |
| extern char udev_config_filename[PATH_SIZE]; | | extern char udev_config_filename[PATH_SIZE]; | |
| extern char udev_rules_dir[PATH_SIZE]; | | extern char udev_rules_dir[PATH_SIZE]; | |
| extern int udev_log_priority; | | extern int udev_log_priority; | |
| extern int udev_run; | | extern int udev_run; | |
| extern void udev_config_init(void); | | extern void udev_config_init(void); | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 2 lines changed or added | |
|
| udev_rules.h | | udev_rules.h | |
| | | | |
| skipping to change at line 96 | | skipping to change at line 96 | |
| struct key run; | | struct key run; | |
| struct key wait_for_sysfs; | | struct key wait_for_sysfs; | |
| struct key label; | | struct key label; | |
| struct key goto_label; | | struct key goto_label; | |
| | | | |
| struct key name; | | struct key name; | |
| struct key symlink; | | struct key symlink; | |
| struct key symlink_match; | | struct key symlink_match; | |
| struct key owner; | | struct key owner; | |
| struct key group; | | struct key group; | |
|
| mode_t mode; | | struct key mode; | |
| enum key_operation mode_operation; | | | |
| enum escape_type string_escape; | | enum escape_type string_escape; | |
| | | | |
| unsigned int link_priority; | | unsigned int link_priority; | |
|
| | | int event_timeout; | |
| unsigned int partitions; | | unsigned int partitions; | |
| unsigned int last_rule:1, | | unsigned int last_rule:1, | |
| run_ignore_error:1, | | run_ignore_error:1, | |
| ignore_device:1, | | ignore_device:1, | |
| ignore_remove:1; | | ignore_remove:1; | |
| | | | |
| size_t bufsize; | | size_t bufsize; | |
| char buf[]; | | char buf[]; | |
| }; | | }; | |
| | | | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|