DNSServiceCreateConnection
| 150 | |
| 151 | // DNSServiceCreateConnection |
| 152 | DNSServiceErrorType DNSSD_API DNSServiceCreateConnection(DNSServiceRef *sdRef) |
| 153 | { |
| 154 | if (!dnssd_initialized) |
| 155 | dnssd_init(); |
| 156 | |
| 157 | if (dnssd_create_connection) |
| 158 | return (*dnssd_create_connection)(sdRef); |
| 159 | else |
| 160 | return (kDNSServiceErr_ServiceNotRunning); |
| 161 | } |
| 162 | |
| 163 | |
| 164 | // DNSServiceProcessResult |
no test coverage detected