diff options
author | Nikias Bassen | 2009-08-26 02:14:25 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-08-26 02:14:25 +0200 |
commit | 351f455dab10cac32e15ca157f9b17876becf5ee (patch) | |
tree | ca569a6973239135c8811346414959ab837c6e61 /libusbmuxd | |
parent | 780b227efdd238b52b6a192c3520d1bd28a94e49 (diff) | |
download | usbmuxd-351f455dab10cac32e15ca157f9b17876becf5ee.tar.gz usbmuxd-351f455dab10cac32e15ca157f9b17876becf5ee.tar.bz2 |
Renamed 'enum usbmuxd_device_event' to 'enum usbmuxd_event_type'.
Diffstat (limited to 'libusbmuxd')
-rw-r--r-- | libusbmuxd/libusbmuxd.c | 2 | ||||
-rw-r--r-- | libusbmuxd/usbmuxd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c index 2fbe139..8be5c4a 100644 --- a/libusbmuxd/libusbmuxd.c +++ b/libusbmuxd/libusbmuxd.c @@ -88,7 +88,7 @@ static int usbmuxd_get_result(int sfd, uint32_t tag, uint32_t * result) * A reference to a populated usbmuxd_event_t with information about the event * and the corresponding device will be passed to the callback function. */ -static void generate_event(usbmuxd_event_cb_t callback, const usbmuxd_device_info_t *dev, enum usbmuxd_device_event event, void *user_data) +static void generate_event(usbmuxd_event_cb_t callback, const usbmuxd_device_info_t *dev, enum usbmuxd_event_type event, void *user_data) { usbmuxd_event_t ev; diff --git a/libusbmuxd/usbmuxd.h b/libusbmuxd/usbmuxd.h index 2905381..a4e7e4a 100644 --- a/libusbmuxd/usbmuxd.h +++ b/libusbmuxd/usbmuxd.h @@ -17,7 +17,7 @@ typedef struct { /** * event types for event callback function */ -enum usbmuxd_device_event { +enum usbmuxd_event_type { UE_DEVICE_ADD = 1, UE_DEVICE_REMOVE }; |