udev_db.h   udev_db.h 
skipping to change at line 29 skipping to change at line 29
* *
*/ */
#ifndef _UDEV_DB_H_ #ifndef _UDEV_DB_H_
#define _UDEV_DB_H_ #define _UDEV_DB_H_
extern int udev_db_add_device(struct udevice *dev); extern int udev_db_add_device(struct udevice *dev);
extern int udev_db_delete_device(struct udevice *dev); extern int udev_db_delete_device(struct udevice *dev);
extern int udev_db_get_device(struct udevice *udev, const char *devpath); extern int udev_db_get_device(struct udevice *udev, const char *devpath);
extern int udev_db_search_name(char *devpath, size_t len, const char *name) extern int udev_db_lookup_name(const char *name, char *devpath, size_t len)
; ;
extern int udev_db_dump_names(int (*handler_function)(const char *path, con extern int udev_db_get_all_entries(struct list_head *name_list);
st char *name));
#endif /* _UDEV_DB_H_ */ #endif /* _UDEV_DB_H_ */
 End of changes. 1 change blocks. 
4 lines changed or deleted 3 lines changed or added


 udev_utils.h   udev_utils.h 
skipping to change at line 29 skipping to change at line 29
*/ */
#ifndef _UDEV_COMMON_H_ #ifndef _UDEV_COMMON_H_
#define _UDEV_COMMON_H_ #define _UDEV_COMMON_H_
#include "udev.h" #include "udev.h"
#include "list.h" #include "list.h"
#define UDEV_MAX(a,b) ((a) > (b) ? (a) : (b)) #define UDEV_MAX(a,b) ((a) > (b) ? (a) : (b))
/* pipes */
#define READ_END 0
#define WRITE_END 1
struct name_entry { struct name_entry {
struct list_head node; struct list_head node;
char name[PATH_SIZE]; char name[PATH_SIZE];
}; };
extern int strcmp_pattern(const char *p, const char *s); /* udev_utils.c */
extern int kernel_release_satisfactory(unsigned int version, unsigned int p
atchlevel, unsigned int sublevel);
extern int create_path(const char *path);
extern int log_priority(const char *priority); extern int log_priority(const char *priority);
extern int kernel_release_satisfactory(unsigned int version, unsigned int p
atchlevel, unsigned int sublevel);
extern int name_list_add(struct list_head *name_list, const char *name, int
sort);
extern int name_list_key_add(struct list_head *name_list, const char *key,
const char *value);
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);
/* udev_utils_string.c */
extern int strcmp_pattern(const char *p, const char *s);
extern int string_is_true(const char *str); extern int string_is_true(const char *str);
extern int parse_get_pair(char **orig_string, char **left, char **right); extern void remove_trailing_chars(char *path, char c);
extern int unlink_secure(const char *filename); extern int utf8_encoded_valid_unichar(const char *str);
extern int replace_untrusted_chars(char *str);
/* udev_utils_file.c */
extern int create_path(const char *path);
extern int file_map(const char *filename, char **buf, size_t *bufsize); extern int file_map(const char *filename, char **buf, size_t *bufsize);
extern void file_unmap(void *buf, size_t bufsize); extern void file_unmap(void *buf, size_t bufsize);
extern int unlink_secure(const char *filename);
extern size_t buf_get_line(const char *buf, size_t buflen, size_t cur); extern size_t buf_get_line(const char *buf, size_t buflen, size_t cur);
extern void remove_trailing_char(char *path, char c);
extern void replace_untrusted_chars(char *string); /* udev_utils_run.c */
extern int name_list_add(struct list_head *name_list, const char *name, int
sort);
extern int name_list_key_add(struct list_head *name_list, const char *key,
const char *value);
extern int add_matching_files(struct list_head *name_list, const char *dirn
ame, const char *suffix);
extern int pass_env_to_socket(const char *name, const char *devpath, const char *action); extern int pass_env_to_socket(const char *name, const char *devpath, const char *action);
extern int run_program(const char *command, const char *subsystem, extern int run_program(const char *command, const char *subsystem,
char *result, size_t ressize, size_t *reslen, int log ); char *result, size_t ressize, size_t *reslen, int log );
#endif #endif
 End of changes. 6 change blocks. 
14 lines changed or deleted 26 lines changed or added


 udev_version.h   udev_version.h 
#define UDEV_VERSION "068" #define UDEV_VERSION "069"
#define UDEV_ROOT "/dev" #define UDEV_ROOT "/dev"
#define UDEV_DB "/dev/.udevdb" #define UDEV_DB "/dev/.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

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/