MCPcopy Create free account
hub / github.com/OpenPrinting/cups / DNSServiceCreateConnection

Function DNSServiceCreateConnection

vcnet/dns_sd.c:152–161  ·  view source on GitHub ↗

DNSServiceCreateConnection

Source from the content-addressed store, hash-verified

150
151// DNSServiceCreateConnection
152DNSServiceErrorType 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

Callers 6

mainFunction · 0.85
dnssd_initFunction · 0.85
cupsdStartBrowsingFunction · 0.85
mainFunction · 0.85
cups_enum_destsFunction · 0.85
http-support.cFile · 0.85

Calls 1

dnssd_initFunction · 0.70

Tested by

no test coverage detected