include $(MAKEFILEPATH)/pb_makefiles/platform.make
-MVERS = "mDNSResponder-541"
+MVERS = "mDNSResponder-544"
DDNSWRITECONFIG = "$(DSTROOT)/Library/Application Support/Bonjour/ddnswriteconfig"
VER =
uid_t mDNSResponderUID;
gid_t mDNSResponderGID;
-static const char kTunnelAddressInterface[] = "lo0";
void
debug_(const char *func, const char *fmt, ...)
// therefore I need to add some byte swapping in this API to make this four-character string backwards too."
// To cope with this we allow *both* "ddns" and "sndd" as valid item types.
+
+#ifndef NO_SECURITYFRAMEWORK
+static const char btmmprefix[] = "btmmdns:";
static const char dnsprefix[] = "dns:";
static const char ddns[] = "ddns";
static const char ddnsrev[] = "sndd";
-static const char btmmprefix[] = "btmmdns:";
-#ifndef NO_SECURITYFRAMEWORK
static enum DNSKeyFormat
getDNSKeyFormat(SecKeychainItemRef item, SecKeychainAttributeList **attributesp)
{
typedef struct D2DRecordListElem
{
struct D2DRecordListElem *next;
- AuthRecord ar;
D2DServiceInstance instanceHandle;
D2DTransportType transportType;
+ AuthRecord ar; // must be last in the structure to accomodate extra space
+ // allocated for large records.
} D2DRecordListElem;
static D2DRecordListElem *D2DRecords = NULL; // List of records returned with D2DServiceFound events
{
(void) m;
(void) q;
- return 0;
+ return -1;
}
mDNSexport void mDNSPlatformSetDelegatePID(UDPSocket *src, const mDNSAddr *dst, DNSQuestion *q)
*/
#ifndef _DNS_SD_H
-#define _DNS_SD_H 5410000
+#define _DNS_SD_H 5440000
#ifdef __cplusplus
extern "C" {
{
(void) m;
(void) q;
- return 0;
+ return -1;
}
mDNSexport void mDNSPlatformSetDelegatePID(UDPSocket *src, const mDNSAddr *dst, DNSQuestion *q)