- Updated CUPS to require ZLIB.
- Updated CUPS to require support for `poll` API.
- Updated `cupsArray` APIs to support modern naming and types.
+- Updated internal usage of CUPS array API to include callback pointer even when
+ not used (Issue #674)
- Updated `cups_enum_dests()` timeout for listing available IPP printers
(Issue #751)
- Updated `httpAddrConnect2()` to handle `POLLHUP` together with `POLLIN` or
#endif // __BLOCKS__
static int cups_compare_dests(cups_dest_t *a, cups_dest_t *b);
static void cups_dest_browse_cb(cups_dnssd_browse_t *browse, void *cb_data, cups_dnssd_flags_t flags, uint32_t if_index, const char *name, const char *regtype, const char *domain);
-static int cups_dnssd_compare_devices(_cups_dnssd_device_t *a, _cups_dnssd_device_t *b);
+static int cups_dnssd_compare_devices(_cups_dnssd_device_t *a, _cups_dnssd_device_t *b, void *data);
static void cups_dnssd_free_device(_cups_dnssd_device_t *device, _cups_dnssd_data_t *data);
static _cups_dnssd_device_t *cups_dnssd_get_device(_cups_dnssd_data_t *data, const char *serviceName, const char *regtype, const char *replyDomain);
static void cups_dest_query_cb(cups_dnssd_query_t *query, void *cb_data, cups_dnssd_flags_t flags, uint32_t if_index, const char *fullname, uint16_t rrtype, const void *qdata, uint16_t qlen);
if (!loc->names)
loc->names = cupsArrayNew3(NULL, NULL, NULL, 0,
- (cups_acopy_func_t)_cupsStrPrivAlloc,
- (cups_afree_func_t)_cupsStrPrivFree);
+ (cups_acopy_func_t)_cupsArrayStrdup,
+ (cups_afree_func_t)_cupsArrayFree);
if (!cupsArrayAdd(loc->names, name))
{