gudevenumtypes.h   gudevenumtypes.h 
/* Generated data (by glib-mkenums) */ /* Generated data (by glib-mkenums) */
#ifndef __GUDEV_ENUM_TYPES_H__ #ifndef __GUDEV_ENUM_TYPES_H__
#define __GUDEV_ENUM_TYPES_H__ #define __GUDEV_ENUM_TYPES_H__
#include <glib-object.h> #include <glib-object.h>
G_BEGIN_DECLS G_BEGIN_DECLS
/* enumerations from "extras/gudev/gudevenums.h" */ /* enumerations from "src/extras/gudev/gudevenums.h" */
GType g_udev_device_type_get_type (void) G_GNUC_CONST; GType g_udev_device_type_get_type (void) G_GNUC_CONST;
#define G_TYPE_UDEV_DEVICE_TYPE (g_udev_device_type_get_type ()) #define G_TYPE_UDEV_DEVICE_TYPE (g_udev_device_type_get_type ())
G_END_DECLS G_END_DECLS
#endif /* __GUDEV_ENUM_TYPES_H__ */ #endif /* __GUDEV_ENUM_TYPES_H__ */
/* Generated data ends here */ /* Generated data ends here */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 libudev.h   libudev.h 
skipping to change at line 34 skipping to change at line 34
* udev - library context * udev - library context
* *
* reads the udev config and system environment * reads the udev config and system environment
* allows custom logging * allows custom logging
*/ */
struct udev; struct udev;
struct udev *udev_ref(struct udev *udev); struct udev *udev_ref(struct udev *udev);
void udev_unref(struct udev *udev); void udev_unref(struct udev *udev);
struct udev *udev_new(void); struct udev *udev_new(void);
void udev_set_log_fn(struct udev *udev, void udev_set_log_fn(struct udev *udev,
void (*log_fn)(struct udev *udev, void (*log_fn)(struct udev *udev,
int priority, const char *file, i int priority, const char *file,
nt line, const char *fn, int line, const char *fn,
const char *format, va_list args) const char *format, va_list args
); ));
int udev_get_log_priority(struct udev *udev); int udev_get_log_priority(struct udev *udev);
void udev_set_log_priority(struct udev *udev, int priority); void udev_set_log_priority(struct udev *udev, int priority);
const char *udev_get_sys_path(struct udev *udev); const char *udev_get_sys_path(struct udev *udev);
const char *udev_get_dev_path(struct udev *udev); const char *udev_get_dev_path(struct udev *udev);
const char *udev_get_run_path(struct udev *udev); const char *udev_get_run_path(struct udev *udev);
void *udev_get_userdata(struct udev *udev); void *udev_get_userdata(struct udev *udev);
void udev_set_userdata(struct udev *udev, void *userdata); void udev_set_userdata(struct udev *udev, void *userdata);
/* /*
* udev_list * udev_list
skipping to change at line 63 skipping to change at line 63
const char *udev_list_entry_get_name(struct udev_list_entry *list_entry); const char *udev_list_entry_get_name(struct udev_list_entry *list_entry);
const char *udev_list_entry_get_value(struct udev_list_entry *list_entry); const char *udev_list_entry_get_value(struct udev_list_entry *list_entry);
/** /**
* udev_list_entry_foreach: * udev_list_entry_foreach:
* @list_entry: entry to store the current position * @list_entry: entry to store the current position
* @first_entry: first entry to start with * @first_entry: first entry to start with
* *
* Helper to iterate over all entries of a list. * Helper to iterate over all entries of a list.
*/ */
#define udev_list_entry_foreach(list_entry, first_entry) \ #define udev_list_entry_foreach(list_entry, first_entry) \
for (list_entry = first_entry; \ for (list_entry = first_entry; \
list_entry != NULL; \ list_entry != NULL; \
list_entry = udev_list_entry_get_next(list_entry)) list_entry = udev_list_entry_get_next(list_entry))
/* /*
* udev_device * udev_device
* *
* access to sysfs/kernel devices * access to sysfs/kernel devices
*/ */
struct udev_device; struct udev_device;
struct udev_device *udev_device_ref(struct udev_device *udev_device); struct udev_device *udev_device_ref(struct udev_device *udev_device);
void udev_device_unref(struct udev_device *udev_device); void udev_device_unref(struct udev_device *udev_device);
struct udev *udev_device_get_udev(struct udev_device *udev_device); struct udev *udev_device_get_udev(struct udev_device *udev_device);
struct udev_device *udev_device_new_from_syspath(struct udev *udev, const c har *syspath); struct udev_device *udev_device_new_from_syspath(struct udev *udev, const c har *syspath);
struct udev_device *udev_device_new_from_devnum(struct udev *udev, char typ e, dev_t devnum); struct udev_device *udev_device_new_from_devnum(struct udev *udev, char typ e, dev_t devnum);
struct udev_device *udev_device_new_from_subsystem_sysname(struct udev *ude v, const char *subsystem, const char *sysname); struct udev_device *udev_device_new_from_subsystem_sysname(struct udev *ude v, const char *subsystem, const char *sysname);
struct udev_device *udev_device_new_from_environment(struct udev *udev); struct udev_device *udev_device_new_from_environment(struct udev *udev);
/* udev_device_get_parent_*() does not take a reference on the returned dev ice, it is automatically unref'd with the parent */ /* udev_device_get_parent_*() does not take a reference on the returned dev ice, it is automatically unref'd with the parent */
struct udev_device *udev_device_get_parent(struct udev_device *udev_device) ; struct udev_device *udev_device_get_parent(struct udev_device *udev_device) ;
struct udev_device *udev_device_get_parent_with_subsystem_devtype(struct ud ev_device *udev_device, struct udev_device *udev_device_get_parent_with_subsystem_devtype(struct ud ev_device *udev_device,
const char *subsystem, const char *devtype); const cha r *subsystem, const char *devtype);
/* retrieve device properties */ /* retrieve device properties */
const char *udev_device_get_devpath(struct udev_device *udev_device); const char *udev_device_get_devpath(struct udev_device *udev_device);
const char *udev_device_get_subsystem(struct udev_device *udev_device); const char *udev_device_get_subsystem(struct udev_device *udev_device);
const char *udev_device_get_devtype(struct udev_device *udev_device); const char *udev_device_get_devtype(struct udev_device *udev_device);
const char *udev_device_get_syspath(struct udev_device *udev_device); const char *udev_device_get_syspath(struct udev_device *udev_device);
const char *udev_device_get_sysname(struct udev_device *udev_device); const char *udev_device_get_sysname(struct udev_device *udev_device);
const char *udev_device_get_sysnum(struct udev_device *udev_device); const char *udev_device_get_sysnum(struct udev_device *udev_device);
const char *udev_device_get_devnode(struct udev_device *udev_device); const char *udev_device_get_devnode(struct udev_device *udev_device);
int udev_device_get_is_initialized(struct udev_device *udev_device); int udev_device_get_is_initialized(struct udev_device *udev_device);
struct udev_list_entry *udev_device_get_devlinks_list_entry(struct udev_dev ice *udev_device); struct udev_list_entry *udev_device_get_devlinks_list_entry(struct udev_dev ice *udev_device);
skipping to change at line 126 skipping to change at line 126
struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char *name); struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char *name);
/* custom socket (use netlink and filters instead) */ /* custom socket (use netlink and filters instead) */
struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path); struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path);
/* bind socket */ /* bind socket */
int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor); int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor);
int udev_monitor_set_receive_buffer_size(struct udev_monitor *udev_monitor, int size); int udev_monitor_set_receive_buffer_size(struct udev_monitor *udev_monitor, int size);
int udev_monitor_get_fd(struct udev_monitor *udev_monitor); int udev_monitor_get_fd(struct udev_monitor *udev_monitor);
struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_m onitor); struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_m onitor);
/* in-kernel socket filters to select messages that get delivered to a list ener */ /* in-kernel socket filters to select messages that get delivered to a list ener */
int udev_monitor_filter_add_match_subsystem_devtype(struct udev_monitor *ud ev_monitor, int udev_monitor_filter_add_match_subsystem_devtype(struct udev_monitor *ud ev_monitor,
const char *subsystem, c onst char *devtype); const char *subsystem, const char *devtype);
int udev_monitor_filter_add_match_tag(struct udev_monitor *udev_monitor, co nst char *tag); int udev_monitor_filter_add_match_tag(struct udev_monitor *udev_monitor, co nst char *tag);
int udev_monitor_filter_update(struct udev_monitor *udev_monitor); int udev_monitor_filter_update(struct udev_monitor *udev_monitor);
int udev_monitor_filter_remove(struct udev_monitor *udev_monitor); int udev_monitor_filter_remove(struct udev_monitor *udev_monitor);
/* /*
* udev_enumerate * udev_enumerate
* *
* search sysfs for specific devices and provide a sorted list * search sysfs for specific devices and provide a sorted list
*/ */
struct udev_enumerate; struct udev_enumerate;
skipping to change at line 174 skipping to change at line 174
struct udev_queue *udev_queue_ref(struct udev_queue *udev_queue); struct udev_queue *udev_queue_ref(struct udev_queue *udev_queue);
void udev_queue_unref(struct udev_queue *udev_queue); void udev_queue_unref(struct udev_queue *udev_queue);
struct udev *udev_queue_get_udev(struct udev_queue *udev_queue); struct udev *udev_queue_get_udev(struct udev_queue *udev_queue);
struct udev_queue *udev_queue_new(struct udev *udev); struct udev_queue *udev_queue_new(struct udev *udev);
unsigned long long int udev_queue_get_kernel_seqnum(struct udev_queue *udev _queue); unsigned long long int udev_queue_get_kernel_seqnum(struct udev_queue *udev _queue);
unsigned long long int udev_queue_get_udev_seqnum(struct udev_queue *udev_q ueue); unsigned long long int udev_queue_get_udev_seqnum(struct udev_queue *udev_q ueue);
int udev_queue_get_udev_is_active(struct udev_queue *udev_queue); int udev_queue_get_udev_is_active(struct udev_queue *udev_queue);
int udev_queue_get_queue_is_empty(struct udev_queue *udev_queue); int udev_queue_get_queue_is_empty(struct udev_queue *udev_queue);
int udev_queue_get_seqnum_is_finished(struct udev_queue *udev_queue, unsign ed long long int seqnum); int udev_queue_get_seqnum_is_finished(struct udev_queue *udev_queue, unsign ed long long int seqnum);
int udev_queue_get_seqnum_sequence_is_finished(struct udev_queue *udev_queu e, int udev_queue_get_seqnum_sequence_is_finished(struct udev_queue *udev_queu e,
unsigned long long int start, unsigned long long int end); unsigned long long int start , unsigned long long int end);
struct udev_list_entry *udev_queue_get_queued_list_entry(struct udev_queue *udev_queue); struct udev_list_entry *udev_queue_get_queued_list_entry(struct udev_queue *udev_queue);
/* /*
* udev_util * udev_util
* *
* udev specific utilities * udev specific utilities
*/ */
int udev_util_encode_string(const char *str, char *str_enc, size_t len); int udev_util_encode_string(const char *str, char *str_enc, size_t len);
#ifdef __cplusplus #ifdef __cplusplus
 End of changes. 5 change blocks. 
11 lines changed or deleted 11 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/