HostDnsService.h revision 5218e94d899f948d3def7109e05a93fc6d590037
/* $Id$ */
/** @file
* Host DNS listener.
*/
/*
* Copyright (C) 2005-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef ___H_DNSHOSTSERVICE
#define ___H_DNSHOSTSERVICE
#include "VirtualBoxBase.h"
#include <iprt/critsect.h>
#include <list>
{
/* XXX: hide it with struct Data together with <list> */
const VirtualBox *mParent;
};
# ifdef RT_OS_DARWIN
{
};
# endif
# ifdef RT_OS_WINDOWS
{
};
# endif
{
};
# if defined(RT_OS_SOLARIS)
/**
*/
{
};
# elif defined(RT_OS_LINUX)
/**
*/
{
};
{
{
/* XXX: \\MPTN\\ETC should be taken from environment variable ETC */
::HostDnsServiceResolvConf("\\MPTN\\ETC\\RESOLV2");
}
virtual ~HostDnsServiceOs2(){}
};
# endif
#endif
#endif /* !___H_DNSHOSTSERVICE */