HostDnsServiceDarwin.cpp revision c8ef03d2caac857c97f629d0ddd6eba0b8eb209d
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * Darwin specific DNS information fetching.
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * Copyright (C) 2004-2013 Oracle Corporation
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * This file is part of VirtualBox Open Source Edition (OSE), as
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * available from http://www.virtualbox.org. This file is free software;
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * you can redistribute it and/or modify it under the terms of the GNU
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * General Public License (GPL) as published by the Free Software
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * Foundation, in version 2 as it comes in the "COPYING" file of the
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
(const void **)&kStateNetworkGlobalDNSKey,
if (!watchingArrayRef)
return E_OUTOFMEMORY;
CFRunLoopRun();
return VINF_SUCCESS;
&ctx);
if (!g_DnsWatcher)
return E_OUTOFMEMORY;
return update();
return S_OK;
if (g_RunLoopRef)
* > d.show
* 1 : de.vvl-domain.com
if (domainNameRef)
if (pszDomainName)
int i, arrayCount;
if (serverArrayRef)
for (i = 0; i < arrayCount; ++i)
if (!serverArrayRef)
if (!pszServerAddress)
if (searchArrayRef)
for (i = 0; i < arrayCount; ++i)
if (!searchArrayRef)
if (!pszSearchString)
return S_OK;