require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DNS_SD_H)) {
    eval 'sub _DNS_SD_H () {8783004;}' unless defined(&_DNS_SD_H);
    if(defined(&__cplusplus)) {
    }
    unless(defined(&_DNS_SD_LIBDISPATCH)) {
	eval 'sub _DNS_SD_LIBDISPATCH () {0;}' unless defined(&_DNS_SD_LIBDISPATCH);
    }
    if(defined(&_WIN32)  && !defined(&EFI32)  && !defined(&EFI64)) {
	eval 'sub DNSSD_API () { &__stdcall;}' unless defined(&DNSSD_API);
    } else {
	eval 'sub DNSSD_API () {1;}' unless defined(&DNSSD_API);
    }
    if(defined(&_WIN32)) {
	require 'winsock2.ph';
    } else {
    }
    if(defined(&__FreeBSD__)  && ((defined(&__FreeBSD__) ? &__FreeBSD__ : undef) < 5)) {
	require 'sys/types.ph';
    }
 elsif(defined(&__sun__)) {
	require 'sys/types.ph';
    }
 elsif(defined(&EFI32) || defined(&EFI64) || defined(&EFIX64)) {
	require './Tiano.ph';
	if(!defined(&_STDINT_H_)) {
	}
    }
 elsif(defined(&_WIN32)) {
	require 'windows.ph';
	eval 'sub _UNUSED () {1;}' unless defined(&_UNUSED);
	unless(defined(&_MSL_STDINT_H)) {
	}
    } else {
	require 'stdint.ph';
    }
    if((defined(&_DNS_SD_LIBDISPATCH) ? &_DNS_SD_LIBDISPATCH : undef)) {
	require 'dispatch/dispatch.ph';
    }
    eval("sub kDNSServiceFlagsMoreComing () { 0x1; }") unless defined(&kDNSServiceFlagsMoreComing);
    eval("sub kDNSServiceFlagsAutoTrigger () { 0x1; }") unless defined(&kDNSServiceFlagsAutoTrigger);
    eval("sub kDNSServiceFlagsAdd () { 0x2; }") unless defined(&kDNSServiceFlagsAdd);
    eval("sub kDNSServiceFlagsDefault () { 0x4; }") unless defined(&kDNSServiceFlagsDefault);
    eval("sub kDNSServiceFlagsNoAutoRename () { 0x8; }") unless defined(&kDNSServiceFlagsNoAutoRename);
    eval("sub kDNSServiceFlagsShared () { 0x10; }") unless defined(&kDNSServiceFlagsShared);
    eval("sub kDNSServiceFlagsUnique () { 0x20; }") unless defined(&kDNSServiceFlagsUnique);
    eval("sub kDNSServiceFlagsBrowseDomains () { 0x40; }") unless defined(&kDNSServiceFlagsBrowseDomains);
    eval("sub kDNSServiceFlagsRegistrationDomains () { 0x80; }") unless defined(&kDNSServiceFlagsRegistrationDomains);
    eval("sub kDNSServiceFlagsLongLivedQuery () { 0x100; }") unless defined(&kDNSServiceFlagsLongLivedQuery);
    eval("sub kDNSServiceFlagsAllowRemoteQuery () { 0x200; }") unless defined(&kDNSServiceFlagsAllowRemoteQuery);
    eval("sub kDNSServiceFlagsForceMulticast () { 0x400; }") unless defined(&kDNSServiceFlagsForceMulticast);
    eval("sub kDNSServiceFlagsForce () { 0x800; }") unless defined(&kDNSServiceFlagsForce);
    eval("sub kDNSServiceFlagsKnownUnique () { 0x800; }") unless defined(&kDNSServiceFlagsKnownUnique);
    eval("sub kDNSServiceFlagsReturnIntermediates () { 0x1000; }") unless defined(&kDNSServiceFlagsReturnIntermediates);
    eval("sub kDNSServiceFlagsNonBrowsable () { 0x2000; }") unless defined(&kDNSServiceFlagsNonBrowsable);
    eval("sub kDNSServiceFlagsShareConnection () { 0x4000; }") unless defined(&kDNSServiceFlagsShareConnection);
    eval("sub kDNSServiceFlagsSuppressUnusable () { 0x8000; }") unless defined(&kDNSServiceFlagsSuppressUnusable);
    eval("sub kDNSServiceFlagsTimeout () { 0x10000; }") unless defined(&kDNSServiceFlagsTimeout);
    eval("sub kDNSServiceFlagsIncludeP2P () { 0x20000; }") unless defined(&kDNSServiceFlagsIncludeP2P);
    eval("sub kDNSServiceFlagsWakeOnResolve () { 0x40000; }") unless defined(&kDNSServiceFlagsWakeOnResolve);
    eval("sub kDNSServiceFlagsBackgroundTrafficClass () { 0x80000; }") unless defined(&kDNSServiceFlagsBackgroundTrafficClass);
    eval("sub kDNSServiceFlagsIncludeAWDL () { 0x100000; }") unless defined(&kDNSServiceFlagsIncludeAWDL);
    eval("sub kDNSServiceFlagsValidate () { 0x200000; }") unless defined(&kDNSServiceFlagsValidate);
    eval("sub kDNSServiceFlagsSecure () { 0x200010; }") unless defined(&kDNSServiceFlagsSecure);
    eval("sub kDNSServiceFlagsInsecure () { 0x200020; }") unless defined(&kDNSServiceFlagsInsecure);
    eval("sub kDNSServiceFlagsBogus () { 0x200040; }") unless defined(&kDNSServiceFlagsBogus);
    eval("sub kDNSServiceFlagsIndeterminate () { 0x200080; }") unless defined(&kDNSServiceFlagsIndeterminate);
    eval("sub kDNSServiceFlagsUnicastResponse () { 0x400000; }") unless defined(&kDNSServiceFlagsUnicastResponse);
    eval("sub kDNSServiceFlagsValidateOptional () { 0x800000; }") unless defined(&kDNSServiceFlagsValidateOptional);
    eval("sub kDNSServiceFlagsWakeOnlyService () { 0x1000000; }") unless defined(&kDNSServiceFlagsWakeOnlyService);
    eval("sub kDNSServiceFlagsThresholdOne () { 0x2000000; }") unless defined(&kDNSServiceFlagsThresholdOne);
    eval("sub kDNSServiceFlagsThresholdFinder () { 0x4000000; }") unless defined(&kDNSServiceFlagsThresholdFinder);
    eval("sub kDNSServiceFlagsThresholdReached () { kDNSServiceFlagsThresholdOne; }") unless defined(&kDNSServiceFlagsThresholdReached);
    eval("sub kDNSServiceFlagsPrivateOne () { 0x8000000; }") unless defined(&kDNSServiceFlagsPrivateOne);
    eval("sub kDNSServiceFlagsPrivateTwo () { 0x10000000; }") unless defined(&kDNSServiceFlagsPrivateTwo);
    eval("sub kDNSServiceFlagsPrivateThree () { 0x20000000; }") unless defined(&kDNSServiceFlagsPrivateThree);
    eval("sub kDNSServiceFlagsPrivateFour () { 0x40000000; }") unless defined(&kDNSServiceFlagsPrivateFour);
    eval 'sub kDNSServiceOutputFlags () {( &kDNSServiceFlagsValidate |  &kDNSServiceFlagsValidateOptional |  &kDNSServiceFlagsMoreComing |  &kDNSServiceFlagsAdd |  &kDNSServiceFlagsDefault);}' unless defined(&kDNSServiceOutputFlags);
    eval("sub kDNSServiceProtocol_IPv4 () { 0x01; }") unless defined(&kDNSServiceProtocol_IPv4);
    eval("sub kDNSServiceProtocol_IPv6 () { 0x02; }") unless defined(&kDNSServiceProtocol_IPv6);
    eval("sub kDNSServiceProtocol_UDP () { 0x10; }") unless defined(&kDNSServiceProtocol_UDP);
    eval("sub kDNSServiceProtocol_TCP () { 0x20; }") unless defined(&kDNSServiceProtocol_TCP);
    eval("sub kDNSServiceClass_IN () { 1; }") unless defined(&kDNSServiceClass_IN);
    eval("sub kDNSServiceType_A () { 1; }") unless defined(&kDNSServiceType_A);
    eval("sub kDNSServiceType_NS () { 2; }") unless defined(&kDNSServiceType_NS);
    eval("sub kDNSServiceType_MD () { 3; }") unless defined(&kDNSServiceType_MD);
    eval("sub kDNSServiceType_MF () { 4; }") unless defined(&kDNSServiceType_MF);
    eval("sub kDNSServiceType_CNAME () { 5; }") unless defined(&kDNSServiceType_CNAME);
    eval("sub kDNSServiceType_SOA () { 6; }") unless defined(&kDNSServiceType_SOA);
    eval("sub kDNSServiceType_MB () { 7; }") unless defined(&kDNSServiceType_MB);
    eval("sub kDNSServiceType_MG () { 8; }") unless defined(&kDNSServiceType_MG);
    eval("sub kDNSServiceType_MR () { 9; }") unless defined(&kDNSServiceType_MR);
    eval("sub kDNSServiceType_NULL () { 10; }") unless defined(&kDNSServiceType_NULL);
    eval("sub kDNSServiceType_WKS () { 11; }") unless defined(&kDNSServiceType_WKS);
    eval("sub kDNSServiceType_PTR () { 12; }") unless defined(&kDNSServiceType_PTR);
    eval("sub kDNSServiceType_HINFO () { 13; }") unless defined(&kDNSServiceType_HINFO);
    eval("sub kDNSServiceType_MINFO () { 14; }") unless defined(&kDNSServiceType_MINFO);
    eval("sub kDNSServiceType_MX () { 15; }") unless defined(&kDNSServiceType_MX);
    eval("sub kDNSServiceType_TXT () { 16; }") unless defined(&kDNSServiceType_TXT);
    eval("sub kDNSServiceType_RP () { 17; }") unless defined(&kDNSServiceType_RP);
    eval("sub kDNSServiceType_AFSDB () { 18; }") unless defined(&kDNSServiceType_AFSDB);
    eval("sub kDNSServiceType_X25 () { 19; }") unless defined(&kDNSServiceType_X25);
    eval("sub kDNSServiceType_ISDN () { 20; }") unless defined(&kDNSServiceType_ISDN);
    eval("sub kDNSServiceType_RT () { 21; }") unless defined(&kDNSServiceType_RT);
    eval("sub kDNSServiceType_NSAP () { 22; }") unless defined(&kDNSServiceType_NSAP);
    eval("sub kDNSServiceType_NSAP_PTR () { 23; }") unless defined(&kDNSServiceType_NSAP_PTR);
    eval("sub kDNSServiceType_SIG () { 24; }") unless defined(&kDNSServiceType_SIG);
    eval("sub kDNSServiceType_KEY () { 25; }") unless defined(&kDNSServiceType_KEY);
    eval("sub kDNSServiceType_PX () { 26; }") unless defined(&kDNSServiceType_PX);
    eval("sub kDNSServiceType_GPOS () { 27; }") unless defined(&kDNSServiceType_GPOS);
    eval("sub kDNSServiceType_AAAA () { 28; }") unless defined(&kDNSServiceType_AAAA);
    eval("sub kDNSServiceType_LOC () { 29; }") unless defined(&kDNSServiceType_LOC);
    eval("sub kDNSServiceType_NXT () { 30; }") unless defined(&kDNSServiceType_NXT);
    eval("sub kDNSServiceType_EID () { 31; }") unless defined(&kDNSServiceType_EID);
    eval("sub kDNSServiceType_NIMLOC () { 32; }") unless defined(&kDNSServiceType_NIMLOC);
    eval("sub kDNSServiceType_SRV () { 33; }") unless defined(&kDNSServiceType_SRV);
    eval("sub kDNSServiceType_ATMA () { 34; }") unless defined(&kDNSServiceType_ATMA);
    eval("sub kDNSServiceType_NAPTR () { 35; }") unless defined(&kDNSServiceType_NAPTR);
    eval("sub kDNSServiceType_KX () { 36; }") unless defined(&kDNSServiceType_KX);
    eval("sub kDNSServiceType_CERT () { 37; }") unless defined(&kDNSServiceType_CERT);
    eval("sub kDNSServiceType_A6 () { 38; }") unless defined(&kDNSServiceType_A6);
    eval("sub kDNSServiceType_DNAME () { 39; }") unless defined(&kDNSServiceType_DNAME);
    eval("sub kDNSServiceType_SINK () { 40; }") unless defined(&kDNSServiceType_SINK);
    eval("sub kDNSServiceType_OPT () { 41; }") unless defined(&kDNSServiceType_OPT);
    eval("sub kDNSServiceType_APL () { 42; }") unless defined(&kDNSServiceType_APL);
    eval("sub kDNSServiceType_DS () { 43; }") unless defined(&kDNSServiceType_DS);
    eval("sub kDNSServiceType_SSHFP () { 44; }") unless defined(&kDNSServiceType_SSHFP);
    eval("sub kDNSServiceType_IPSECKEY () { 45; }") unless defined(&kDNSServiceType_IPSECKEY);
    eval("sub kDNSServiceType_RRSIG () { 46; }") unless defined(&kDNSServiceType_RRSIG);
    eval("sub kDNSServiceType_NSEC () { 47; }") unless defined(&kDNSServiceType_NSEC);
    eval("sub kDNSServiceType_DNSKEY () { 48; }") unless defined(&kDNSServiceType_DNSKEY);
    eval("sub kDNSServiceType_DHCID () { 49; }") unless defined(&kDNSServiceType_DHCID);
    eval("sub kDNSServiceType_NSEC3 () { 50; }") unless defined(&kDNSServiceType_NSEC3);
    eval("sub kDNSServiceType_NSEC3PARAM () { 51; }") unless defined(&kDNSServiceType_NSEC3PARAM);
    eval("sub kDNSServiceType_HIP () { 55; }") unless defined(&kDNSServiceType_HIP);
    eval("sub kDNSServiceType_SPF () { 99; }") unless defined(&kDNSServiceType_SPF);
    eval("sub kDNSServiceType_UINFO () { 100; }") unless defined(&kDNSServiceType_UINFO);
    eval("sub kDNSServiceType_UID () { 101; }") unless defined(&kDNSServiceType_UID);
    eval("sub kDNSServiceType_GID () { 102; }") unless defined(&kDNSServiceType_GID);
    eval("sub kDNSServiceType_UNSPEC () { 103; }") unless defined(&kDNSServiceType_UNSPEC);
    eval("sub kDNSServiceType_TKEY () { 249; }") unless defined(&kDNSServiceType_TKEY);
    eval("sub kDNSServiceType_TSIG () { 250; }") unless defined(&kDNSServiceType_TSIG);
    eval("sub kDNSServiceType_IXFR () { 251; }") unless defined(&kDNSServiceType_IXFR);
    eval("sub kDNSServiceType_AXFR () { 252; }") unless defined(&kDNSServiceType_AXFR);
    eval("sub kDNSServiceType_MAILB () { 253; }") unless defined(&kDNSServiceType_MAILB);
    eval("sub kDNSServiceType_MAILA () { 254; }") unless defined(&kDNSServiceType_MAILA);
    eval("sub kDNSServiceType_ANY () { 255; }") unless defined(&kDNSServiceType_ANY);
    eval("sub kDNSServiceErr_NoError () { 0; }") unless defined(&kDNSServiceErr_NoError);
    eval("sub kDNSServiceErr_Unknown () { -65537; }") unless defined(&kDNSServiceErr_Unknown);
    eval("sub kDNSServiceErr_NoSuchName () { -65538; }") unless defined(&kDNSServiceErr_NoSuchName);
    eval("sub kDNSServiceErr_NoMemory () { -65539; }") unless defined(&kDNSServiceErr_NoMemory);
    eval("sub kDNSServiceErr_BadParam () { -65540; }") unless defined(&kDNSServiceErr_BadParam);
    eval("sub kDNSServiceErr_BadReference () { -65541; }") unless defined(&kDNSServiceErr_BadReference);
    eval("sub kDNSServiceErr_BadState () { -65542; }") unless defined(&kDNSServiceErr_BadState);
    eval("sub kDNSServiceErr_BadFlags () { -65543; }") unless defined(&kDNSServiceErr_BadFlags);
    eval("sub kDNSServiceErr_Unsupported () { -65544; }") unless defined(&kDNSServiceErr_Unsupported);
    eval("sub kDNSServiceErr_NotInitialized () { -65545; }") unless defined(&kDNSServiceErr_NotInitialized);
    eval("sub kDNSServiceErr_AlreadyRegistered () { -65547; }") unless defined(&kDNSServiceErr_AlreadyRegistered);
    eval("sub kDNSServiceErr_NameConflict () { -65548; }") unless defined(&kDNSServiceErr_NameConflict);
    eval("sub kDNSServiceErr_Invalid () { -65549; }") unless defined(&kDNSServiceErr_Invalid);
    eval("sub kDNSServiceErr_Firewall () { -65550; }") unless defined(&kDNSServiceErr_Firewall);
    eval("sub kDNSServiceErr_Incompatible () { -65551; }") unless defined(&kDNSServiceErr_Incompatible);
    eval("sub kDNSServiceErr_BadInterfaceIndex () { -65552; }") unless defined(&kDNSServiceErr_BadInterfaceIndex);
    eval("sub kDNSServiceErr_Refused () { -65553; }") unless defined(&kDNSServiceErr_Refused);
    eval("sub kDNSServiceErr_NoSuchRecord () { -65554; }") unless defined(&kDNSServiceErr_NoSuchRecord);
    eval("sub kDNSServiceErr_NoAuth () { -65555; }") unless defined(&kDNSServiceErr_NoAuth);
    eval("sub kDNSServiceErr_NoSuchKey () { -65556; }") unless defined(&kDNSServiceErr_NoSuchKey);
    eval("sub kDNSServiceErr_NATTraversal () { -65557; }") unless defined(&kDNSServiceErr_NATTraversal);
    eval("sub kDNSServiceErr_DoubleNAT () { -65558; }") unless defined(&kDNSServiceErr_DoubleNAT);
    eval("sub kDNSServiceErr_BadTime () { -65559; }") unless defined(&kDNSServiceErr_BadTime);
    eval("sub kDNSServiceErr_BadSig () { -65560; }") unless defined(&kDNSServiceErr_BadSig);
    eval("sub kDNSServiceErr_BadKey () { -65561; }") unless defined(&kDNSServiceErr_BadKey);
    eval("sub kDNSServiceErr_Transient () { -65562; }") unless defined(&kDNSServiceErr_Transient);
    eval("sub kDNSServiceErr_ServiceNotRunning () { -65563; }") unless defined(&kDNSServiceErr_ServiceNotRunning);
    eval("sub kDNSServiceErr_NATPortMappingUnsupported () { -65564; }") unless defined(&kDNSServiceErr_NATPortMappingUnsupported);
    eval("sub kDNSServiceErr_NATPortMappingDisabled () { -65565; }") unless defined(&kDNSServiceErr_NATPortMappingDisabled);
    eval("sub kDNSServiceErr_NoRouter () { -65566; }") unless defined(&kDNSServiceErr_NoRouter);
    eval("sub kDNSServiceErr_PollingMode () { -65567; }") unless defined(&kDNSServiceErr_PollingMode);
    eval("sub kDNSServiceErr_Timeout () { -65568; }") unless defined(&kDNSServiceErr_Timeout);
    eval 'sub kDNSServiceMaxServiceName () {64;}' unless defined(&kDNSServiceMaxServiceName);
    eval 'sub kDNSServiceMaxDomainName () {1009;}' unless defined(&kDNSServiceMaxDomainName);
    eval 'sub kDNSServiceInterfaceIndexAny () {0;}' unless defined(&kDNSServiceInterfaceIndexAny);
    eval 'sub kDNSServiceInterfaceIndexLocalOnly () {(( &uint32_t)-1);}' unless defined(&kDNSServiceInterfaceIndexLocalOnly);
    eval 'sub kDNSServiceInterfaceIndexUnicast () {(( &uint32_t)-2);}' unless defined(&kDNSServiceInterfaceIndexUnicast);
    eval 'sub kDNSServiceInterfaceIndexP2P () {(( &uint32_t)-3);}' unless defined(&kDNSServiceInterfaceIndexP2P);
    eval 'sub kDNSServiceInterfaceIndexBLE () {(( &uint32_t)-4);}' unless defined(&kDNSServiceInterfaceIndexBLE);
    eval 'sub kDNSServiceProperty_DaemonVersion () {"DaemonVersion";}' unless defined(&kDNSServiceProperty_DaemonVersion);
    if((defined(&_DNS_SD_LIBDISPATCH) ? &_DNS_SD_LIBDISPATCH : undef)) {
    }
    if(!defined(&_WIN32)) {
    }
    if(defined(&__cplusplus)) {
    }
}
1;
