errOT = OTInstallNotifier(dnsContext.serviceRef, DNS_NOTIFIER_ROUTINE, &dnsContext);
errOT = OTInstallNotifier(dnsContext.serviceRef, DNSNotifierRoutineUPP, &dnsContext);
static void _MD_FinishInitNetAccess(){    OSStatus    errOT;    dnsContext.serviceRef = OT_OPEN_INTERNET_SERVICES(kDefaultInternetServicesPath, NULL, &errOT);    if (errOT != kOTNoError) return;    /* no network -- oh well */    PR_ASSERT((dnsContext.serviceRef != NULL) && (errOT == kOTNoError));    /* Install notify function for DNR Address To String completion */    errOT = OTInstallNotifier(dnsContext.serviceRef, DNS_NOTIFIER_ROUTINE, &dnsContext);    PR_ASSERT(errOT == kOTNoError);    /* Put us into async mode */    errOT = OTSetAsynchronous(dnsContext.serviceRef);    PR_ASSERT(errOT == kOTNoError);        gOTInitialized = PR_TRUE;}