19 Commits

Author SHA1 Message Date
Duncan Ogilvie 22a4e4c79f Change __attribute__((__packed__)) to #pragma pack(push, 1) 2024-11-29 04:26:45 +01:00
Duncan Ogilvie cdede2b53e Change WIN32 to _WIN32 2024-11-29 04:26:16 +01:00
Nikias Bassen a435ebf661 Add libusbmuxd_version() function to interface 2024-03-26 21:47:03 +01:00
Nikias Bassen 07cd6f774f Move USBMUXD_API to public headers 2024-01-29 17:15:26 +01:00
Nikias Bassen 36ffb7ab6e Make conn_data member of usbmuxd_device_info struct unsigned since it's not a string
Also remove some pointless casts and update some others
2022-05-05 01:07:00 +02:00
Martin Szulecki 4a6182bf8d Remove trailing whitespace errors from all files 2020-06-08 22:53:58 +02:00
fidetro 98f2f23cc7 Fix compiler warning about missing void in function declaration of usbmuxd_unsubscribe() 2020-04-27 06:18:27 +02:00
Nikias Bassen 53e832a84c Fix enum comments in doxygen compatible way 2019-11-06 22:29:07 +01:00
Nikias Bassen a6b542b389 Add new usbmuxd_events_subscribe/unsubscribe functions with a context so it can be used in different threads 2019-05-22 11:32:11 +02:00
Nikias Bassen c75605d862 Return meaningful error codes from usbmuxd_connect() 2019-01-18 20:43:47 +01:00
Nikias Bassen f5a7387a54 Add proper support for USB and network (WiFi sync) devices reported by usbmuxd
This commit extends the interface with a new function usbmuxd_get_device()
that allows to look up USB *and* network devices, while the 'old' interface
usbmuxd_get_device_by_udid() only targets USB devices.
The usbmuxd_device_info_t structure now has new members 'conn_type' and
'conn_data' so that the returned device info allows to figure out if
a device is available via USB or network. Check the comments in
include/usbmuxd.h for more details.
2018-10-13 04:23:20 +02:00
Nikias Bassen 07a493a570 Add usbmuxd_save_pair_record_with_device_id() to target a device by it's usbmux id 2018-09-15 03:44:58 +02:00
Nikias Bassen 75c6f68dde Handle 'Paired' message and pass event to client through callback 2016-07-14 03:09:44 +02:00
BALATON Zoltan fe6e9de976 Catch Paired message even if it is ignored now to prevent returning an
error to the user on receiving this message.
2016-07-13 21:40:53 +02:00
Martin Szulecki bfe08f9ecb Update and slightly cleanup copyright headers of public API 2014-10-03 09:31:45 +02:00
Nikias Bassen 1d04157785 Properly rename header guards according to C++ standard 2014-09-13 01:17:54 +02:00
Nikias Bassen 30b64de8f3 implemented usbmuxd_read/save/delete_pair_record() 2013-12-13 12:01:45 +01:00
Nikias Bassen 75534a5e07 implemented usbmuxd_read_buid() 2013-12-13 11:59:32 +01:00
Nikias Bassen c45ae1f6b6 initial commit of adapted source tree. 2013-09-17 11:00:31 +02:00