| udev.h | | udev.h | |
| | | | |
| skipping to change at line 140 | | skipping to change at line 140 | |
| extern int udev_db_get_all_entries(struct list_head *name_list); | | extern int udev_db_get_all_entries(struct list_head *name_list); | |
| | | | |
| /* udev_utils.c */ | | /* udev_utils.c */ | |
| struct name_entry { | | struct name_entry { | |
| struct list_head node; | | struct list_head node; | |
| char name[PATH_SIZE]; | | char name[PATH_SIZE]; | |
| }; | | }; | |
| extern int log_priority(const char *priority); | | extern int log_priority(const char *priority); | |
| extern char *name_list_add(struct list_head *name_list, const char *name, i
nt sort); | | extern char *name_list_add(struct list_head *name_list, const char *name, i
nt sort); | |
| extern char *name_list_key_add(struct list_head *name_list, const char *key
, const char *value); | | extern char *name_list_key_add(struct list_head *name_list, const char *key
, const char *value); | |
|
| | | extern int name_list_key_remove(struct list_head *name_list, const char *ke
y); | |
| extern void name_list_cleanup(struct list_head *name_list); | | extern void name_list_cleanup(struct list_head *name_list); | |
| extern int add_matching_files(struct list_head *name_list, const char *dirn
ame, const char *suffix); | | extern int add_matching_files(struct list_head *name_list, const char *dirn
ame, const char *suffix); | |
| extern uid_t lookup_user(const char *user); | | extern uid_t lookup_user(const char *user); | |
| extern gid_t lookup_group(const char *group); | | extern gid_t lookup_group(const char *group); | |
| | | | |
| /* udev_utils_string.c */ | | /* udev_utils_string.c */ | |
| extern int string_is_true(const char *str); | | extern int string_is_true(const char *str); | |
| extern void remove_trailing_chars(char *path, char c); | | extern void remove_trailing_chars(char *path, char c); | |
| extern size_t path_encode(char *s, size_t len); | | extern size_t path_encode(char *s, size_t len); | |
| extern size_t path_decode(char *s); | | extern size_t path_decode(char *s); | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 1 lines changed or added | |
|
| udevd.h | | udevd.h | |
| | | | |
| skipping to change at line 49 | | skipping to change at line 49 | |
| #define UDEVD_CTRL_MAGIC "udevd_" UDEV_VERSION | | #define UDEVD_CTRL_MAGIC "udevd_" UDEV_VERSION | |
| | | | |
| enum udevd_ctrl_msg_type { | | enum udevd_ctrl_msg_type { | |
| UDEVD_CTRL_UNKNOWN, | | UDEVD_CTRL_UNKNOWN, | |
| UDEVD_CTRL_STOP_EXEC_QUEUE, | | UDEVD_CTRL_STOP_EXEC_QUEUE, | |
| UDEVD_CTRL_START_EXEC_QUEUE, | | UDEVD_CTRL_START_EXEC_QUEUE, | |
| UDEVD_CTRL_SET_LOG_LEVEL, | | UDEVD_CTRL_SET_LOG_LEVEL, | |
| UDEVD_CTRL_SET_MAX_CHILDS, | | UDEVD_CTRL_SET_MAX_CHILDS, | |
| UDEVD_CTRL_SET_MAX_CHILDS_RUNNING, | | UDEVD_CTRL_SET_MAX_CHILDS_RUNNING, | |
| UDEVD_CTRL_RELOAD_RULES, | | UDEVD_CTRL_RELOAD_RULES, | |
|
| | | UDEVD_CTRL_ENV, | |
| }; | | }; | |
| | | | |
| struct udevd_ctrl_msg { | | struct udevd_ctrl_msg { | |
| char magic[32]; | | char magic[32]; | |
| enum udevd_ctrl_msg_type type; | | enum udevd_ctrl_msg_type type; | |
| char buf[256]; | | char buf[256]; | |
| }; | | }; | |
| | | | |
| struct udevd_uevent_msg { | | struct udevd_uevent_msg { | |
| struct list_head node; | | struct list_head node; | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 1 lines changed or added | |
|