Lines Matching refs:g_dnsRef
62 static DNSServiceRef g_dnsRef = NULL;
126 error = DNSServiceCreateConnection(&g_dnsRef);
135 DNSServiceRefSockFD(g_dnsRef),
139 DNSServiceErrorType ret = DNSServiceProcessResult(g_dnsRef);
272 error = DNSServiceRegisterRecord(g_dnsRef,
294 if (g_dnsRef) {
296 DNSServiceRemoveRecord(g_dnsRef, srvRefs.val[i], 0);
354 if (drop->recordRef && g_dnsRef)
355 DNSServiceRemoveRecord(g_dnsRef, drop->recordRef, 0);
376 DNSServiceRemoveRecord(g_dnsRef, update->recordRef, 0);
378 error = DNSServiceRegisterRecord(g_dnsRef,
485 if (g_dnsRef == NULL)
493 DNSServiceRefDeallocate(g_dnsRef);
494 g_dnsRef = NULL;