| gudevdevice.h | | gudevdevice.h | |
| | | | |
| skipping to change at line 79 | | skipping to change at line 79 | |
| void (*reserved2) (void); | | void (*reserved2) (void); | |
| void (*reserved3) (void); | | void (*reserved3) (void); | |
| void (*reserved4) (void); | | void (*reserved4) (void); | |
| void (*reserved5) (void); | | void (*reserved5) (void); | |
| void (*reserved6) (void); | | void (*reserved6) (void); | |
| void (*reserved7) (void); | | void (*reserved7) (void); | |
| void (*reserved8) (void); | | void (*reserved8) (void); | |
| }; | | }; | |
| | | | |
| GType g_udev_device_get_type (void) G_GNUC_C
ONST; | | GType g_udev_device_get_type (void) G_GNUC_C
ONST; | |
|
| | | gboolean g_udev_device_get_is_initialized (GUdevDevice * | |
| | | device); | |
| | | guint64 g_udev_device_get_usec_since_initialized (GUdevDevice | |
| | | *device); | |
| const gchar *g_udev_device_get_subsystem (GUdevDevice *
device); | | const gchar *g_udev_device_get_subsystem (GUdevDevice *
device); | |
| const gchar *g_udev_device_get_devtype (GUdevDevice *
device); | | const gchar *g_udev_device_get_devtype (GUdevDevice *
device); | |
| const gchar *g_udev_device_get_name (GUdevDevice *
device); | | const gchar *g_udev_device_get_name (GUdevDevice *
device); | |
| const gchar *g_udev_device_get_number (GUdevDevice *
device); | | const gchar *g_udev_device_get_number (GUdevDevice *
device); | |
| const gchar *g_udev_device_get_sysfs_path (GUdevDevice *
device); | | const gchar *g_udev_device_get_sysfs_path (GUdevDevice *
device); | |
| const gchar *g_udev_device_get_driver (GUdevDevice *
device); | | const gchar *g_udev_device_get_driver (GUdevDevice *
device); | |
| const gchar *g_udev_device_get_action (GUdevDevice *
device); | | const gchar *g_udev_device_get_action (GUdevDevice *
device); | |
| guint64 g_udev_device_get_seqnum (GUdevDevice *
device); | | guint64 g_udev_device_get_seqnum (GUdevDevice *
device); | |
| GUdevDeviceType g_udev_device_get_device_type (GUdevDevice *
device); | | GUdevDeviceType g_udev_device_get_device_type (GUdevDevice *
device); | |
| GUdevDeviceNumber g_udev_device_get_device_number (GUdevDevice *
device); | | GUdevDeviceNumber g_udev_device_get_device_number (GUdevDevice *
device); | |
| | | | |
| skipping to change at line 123 | | skipping to change at line 125 | |
| gint g_udev_device_get_sysfs_attr_as_int (GUdevDevice *
device, | | gint g_udev_device_get_sysfs_attr_as_int (GUdevDevice *
device, | |
| const gchar *
name); | | const gchar *
name); | |
| guint64 g_udev_device_get_sysfs_attr_as_uint64 (GUdevDevice *
device, | | guint64 g_udev_device_get_sysfs_attr_as_uint64 (GUdevDevice *
device, | |
| const gchar *
name); | | const gchar *
name); | |
| gdouble g_udev_device_get_sysfs_attr_as_double (GUdevDevice *
device, | | gdouble g_udev_device_get_sysfs_attr_as_double (GUdevDevice *
device, | |
| const gchar *
name); | | const gchar *
name); | |
| gboolean g_udev_device_get_sysfs_attr_as_boolean (GUdevDevice *
device, | | gboolean g_udev_device_get_sysfs_attr_as_boolean (GUdevDevice *
device, | |
| const gchar *
name); | | const gchar *
name); | |
| const gchar* const *g_udev_device_get_sysfs_attr_as_strv (GUdevDevice *
device, | | const gchar* const *g_udev_device_get_sysfs_attr_as_strv (GUdevDevice *
device, | |
| const gchar *
name); | | const gchar *
name); | |
|
| | | const gchar* const *g_udev_device_get_tags (GUdevDevice *
device); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif /* __G_UDEV_DEVICE_H__ */ | | #endif /* __G_UDEV_DEVICE_H__ */ | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 5 lines changed or added | |
|
| libudev.h | | libudev.h | |
| | | | |
| skipping to change at line 41 | | skipping to change at line 41 | |
| 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
nt line, const char *fn, | | int priority, const char *file, i
nt 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); | |
| 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 | |
| * | | * | |
| * access to libudev generated lists | | * access to libudev generated lists | |
| */ | | */ | |
| struct udev_list_entry; | | struct udev_list_entry; | |
| struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *li
st_entry); | | struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *li
st_entry); | |
| | | | |
| skipping to change at line 91 | | skipping to change at line 92 | |
| 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 char
*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); | |
| 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); | |
| struct udev_list_entry *udev_device_get_properties_list_entry(struct udev_d
evice *udev_device); | | struct udev_list_entry *udev_device_get_properties_list_entry(struct udev_d
evice *udev_device); | |
| struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_device
*udev_device); | | struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_device
*udev_device); | |
|
| | | struct udev_list_entry *udev_device_get_sysattr_list_entry(struct udev_devi
ce *udev_device); | |
| const char *udev_device_get_property_value(struct udev_device *udev_device,
const char *key); | | const char *udev_device_get_property_value(struct udev_device *udev_device,
const char *key); | |
| const char *udev_device_get_driver(struct udev_device *udev_device); | | const char *udev_device_get_driver(struct udev_device *udev_device); | |
| dev_t udev_device_get_devnum(struct udev_device *udev_device); | | dev_t udev_device_get_devnum(struct udev_device *udev_device); | |
| const char *udev_device_get_action(struct udev_device *udev_device); | | const char *udev_device_get_action(struct udev_device *udev_device); | |
| unsigned long long int udev_device_get_seqnum(struct udev_device *udev_devi
ce); | | unsigned long long int udev_device_get_seqnum(struct udev_device *udev_devi
ce); | |
|
| | | unsigned long long int udev_device_get_usec_since_initialized(struct udev_d
evice *udev_device); | |
| const char *udev_device_get_sysattr_value(struct udev_device *udev_device,
const char *sysattr); | | const char *udev_device_get_sysattr_value(struct udev_device *udev_device,
const char *sysattr); | |
| | | | |
| /* | | /* | |
| * udev_monitor | | * udev_monitor | |
| * | | * | |
| * access to kernel uevents and udev events | | * access to kernel uevents and udev events | |
| */ | | */ | |
| struct udev_monitor; | | struct udev_monitor; | |
| struct udev_monitor *udev_monitor_ref(struct udev_monitor *udev_monitor); | | struct udev_monitor *udev_monitor_ref(struct udev_monitor *udev_monitor); | |
| void udev_monitor_unref(struct udev_monitor *udev_monitor); | | void udev_monitor_unref(struct udev_monitor *udev_monitor); | |
| | | | |
| skipping to change at line 144 | | skipping to change at line 148 | |
| struct udev *udev_enumerate_get_udev(struct udev_enumerate *udev_enumerate)
; | | struct udev *udev_enumerate_get_udev(struct udev_enumerate *udev_enumerate)
; | |
| struct udev_enumerate *udev_enumerate_new(struct udev *udev); | | struct udev_enumerate *udev_enumerate_new(struct udev *udev); | |
| /* device properties filter */ | | /* device properties filter */ | |
| int udev_enumerate_add_match_subsystem(struct udev_enumerate *udev_enumerat
e, const char *subsystem); | | int udev_enumerate_add_match_subsystem(struct udev_enumerate *udev_enumerat
e, const char *subsystem); | |
| int udev_enumerate_add_nomatch_subsystem(struct udev_enumerate *udev_enumer
ate, const char *subsystem); | | int udev_enumerate_add_nomatch_subsystem(struct udev_enumerate *udev_enumer
ate, const char *subsystem); | |
| int udev_enumerate_add_match_sysattr(struct udev_enumerate *udev_enumerate,
const char *sysattr, const char *value); | | int udev_enumerate_add_match_sysattr(struct udev_enumerate *udev_enumerate,
const char *sysattr, const char *value); | |
| int udev_enumerate_add_nomatch_sysattr(struct udev_enumerate *udev_enumerat
e, const char *sysattr, const char *value); | | int udev_enumerate_add_nomatch_sysattr(struct udev_enumerate *udev_enumerat
e, const char *sysattr, const char *value); | |
| int udev_enumerate_add_match_property(struct udev_enumerate *udev_enumerate
, const char *property, const char *value); | | int udev_enumerate_add_match_property(struct udev_enumerate *udev_enumerate
, const char *property, const char *value); | |
| int udev_enumerate_add_match_sysname(struct udev_enumerate *udev_enumerate,
const char *sysname); | | int udev_enumerate_add_match_sysname(struct udev_enumerate *udev_enumerate,
const char *sysname); | |
| int udev_enumerate_add_match_tag(struct udev_enumerate *udev_enumerate, con
st char *tag); | | int udev_enumerate_add_match_tag(struct udev_enumerate *udev_enumerate, con
st char *tag); | |
|
| | | int udev_enumerate_add_match_is_initialized(struct udev_enumerate *udev_enu
merate); | |
| int udev_enumerate_add_syspath(struct udev_enumerate *udev_enumerate, const
char *syspath); | | int udev_enumerate_add_syspath(struct udev_enumerate *udev_enumerate, const
char *syspath); | |
| /* run enumeration with active filters */ | | /* run enumeration with active filters */ | |
| int udev_enumerate_scan_devices(struct udev_enumerate *udev_enumerate); | | int udev_enumerate_scan_devices(struct udev_enumerate *udev_enumerate); | |
| int udev_enumerate_scan_subsystems(struct udev_enumerate *udev_enumerate); | | int udev_enumerate_scan_subsystems(struct udev_enumerate *udev_enumerate); | |
| /* return device list */ | | /* return device list */ | |
| struct udev_list_entry *udev_enumerate_get_list_entry(struct udev_enumerate
*udev_enumerate); | | struct udev_list_entry *udev_enumerate_get_list_entry(struct udev_enumerate
*udev_enumerate); | |
| | | | |
| /* | | /* | |
| * udev_queue | | * udev_queue | |
| * | | * | |
| | | | |
End of changes. 5 change blocks. |
| 0 lines changed or deleted | | 5 lines changed or added | |
|