mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 01:57:43 +08:00

The sources can be obtained via: https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-765.1.2.tar.gz Move mDNS_StartResolveService() and mDNS_StopResolveService() to an RTEMS-specific file (rtemsbsd/mdns/mDNSResolveService.c) using the v576.30.4 implementation. Apple removed these functions without explanation. Update #3522.
28 lines
504 B
C
28 lines
504 B
C
#include "DomainNameTest.h"
|
|
#include "mDNSEmbeddedAPI.h"
|
|
#include "../mDNSCore/DNSCommon.h"
|
|
|
|
int SameDomainNameTest(void);
|
|
int SameDomainLabelTest(void);
|
|
int LocalDomainTest(void);
|
|
|
|
|
|
UNITTEST_HEADER(DomainNameTest)
|
|
UNITTEST_TEST(SameDomainLabelTest)
|
|
UNITTEST_TEST(SameDomainNameTest)
|
|
UNITTEST_TEST(LocalDomainTest)
|
|
UNITTEST_FOOTER
|
|
|
|
|
|
|
|
|
|
UNITTEST_HEADER(SameDomainLabelTest)
|
|
UNITTEST_FOOTER
|
|
|
|
|
|
UNITTEST_HEADER(SameDomainNameTest)
|
|
UNITTEST_FOOTER
|
|
|
|
|
|
UNITTEST_HEADER(LocalDomainTest)
|
|
UNITTEST_FOOTER |