From f5a7387a54ae08c9cd1d83a415393e0e909dc6e6 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 13 Oct 2018 04:23:20 +0200 Subject: 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b719b96..ab056b6 100644 --- a/configure.ac +++ b/configure.ac @@ -66,7 +66,7 @@ AC_TYPE_UINT8_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC -AC_CHECK_FUNCS([strcasecmp strdup strerror strndup sleep]) +AC_CHECK_FUNCS([strcasecmp strdup strerror stpncpy sleep]) # Check for operating system AC_MSG_CHECKING([whether we need platform-specific build settings]) -- cgit v1.1-32-gdbae