libudev.h | libudev.h | |||
---|---|---|---|---|
skipping to change at line 19 | skipping to change at line 19 | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
*/ | */ | |||
#ifndef _LIBUDEV_H_ | #ifndef _LIBUDEV_H_ | |||
#define _LIBUDEV_H_ | #define _LIBUDEV_H_ | |||
#include <stdarg.h> | #include <stdarg.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <sys/stat.h> | #include <sys/stat.h> | |||
#ifdef __cplusplus | ||||
extern "C" { | ||||
#endif | ||||
/* | /* | |||
* 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); | |||
skipping to change at line 161 | skipping to change at line 165 | |||
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); | |||
struct udev_list_entry *udev_queue_get_failed_list_entry(struct udev_queue *udev_queue); | struct udev_list_entry *udev_queue_get_failed_list_entry(struct udev_queue *udev_queue); | |||
#ifdef __cplusplus | ||||
} /* extern "C" */ | ||||
#endif | ||||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 9 lines changed or added | |||