Max Kellermann
|
ceb76b6a82
|
zeroconf/Bonjour: pass a context pointer to the callback
|
2021-02-24 14:18:35 +01:00 |
|
Max Kellermann
|
a7e697b588
|
zeroconf/Bonjour: add const
|
2021-02-24 14:18:17 +01:00 |
|
Max Kellermann
|
3ecd918442
|
zeroconf/Bonjour: move the DNSServiceRegister() call to the constructor
|
2021-02-24 14:17:59 +01:00 |
|
Max Kellermann
|
4fbdb3a2d5
|
zeroconf/Bonjour: convert the callback function to a method
|
2021-02-24 14:15:26 +01:00 |
|
Max Kellermann
|
06b9bdba2c
|
zeroconf/Bonjour: disallow copying
|
2021-02-24 13:53:36 +01:00 |
|
Max Kellermann
|
bd0aa74bdd
|
zeroconf/Bonjour: rename class BonjourMonitor to BonjourHelper
|
2021-02-24 13:53:35 +01:00 |
|
Max Kellermann
|
47461df59c
|
zeroconf/Bonjour: don't call DNSServiceRefDeallocate() if DNSServiceRegister() fails
According to
https://developer.apple.com/documentation/dnssd/1804733-dnsserviceregister
the DNSServiceRef is initialized only if DNSServiceRegister() returns
kDNSServiceErr_NoError. The faulty error handling code could
therefore crash.
|
2021-02-24 13:49:03 +01:00 |
|
Max Kellermann
|
04d5588fe5
|
zeroconf/Zeroconf*: drop prefix from file names
|
2021-02-24 13:33:59 +01:00 |
|