d9241a9515e03c7c95a170b2106b365411df0c4evboxsync * Base class for Host DNS & Co services.
099e7a98b610d5290560331351a58781728dd33evboxsync * Copyright (C) 2014 Oracle Corporation
099e7a98b610d5290560331351a58781728dd33evboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
099e7a98b610d5290560331351a58781728dd33evboxsync * available from http://www.virtualbox.org. This file is free software;
099e7a98b610d5290560331351a58781728dd33evboxsync * you can redistribute it and/or modify it under the terms of the GNU
099e7a98b610d5290560331351a58781728dd33evboxsync * General Public License (GPL) as published by the Free Software
099e7a98b610d5290560331351a58781728dd33evboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
099e7a98b610d5290560331351a58781728dd33evboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
099e7a98b610d5290560331351a58781728dd33evboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsync/* -*- indent-tabs-mode: nil; -*- */
dbbd0cae65188dffbd927bdde2d88cbeec2e26davboxsync#include "../../Devices/Network/slirp/resolv_conf_parser.h"
3f2299591cfeb8a37a3578bef9c44c1790860948vboxsync Data(const char *fileName):resolvConfFilename(fileName){};
dbbd0cae65188dffbd927bdde2d88cbeec2e26davboxsyncconst std::string& HostDnsServiceResolvConf::resolvConf() const
18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cdvboxsyncHostDnsServiceResolvConf::~HostDnsServiceResolvConf()
b5e51a17f57d4fe07a991fe3622c16742f558099vboxsyncHRESULT HostDnsServiceResolvConf::init(VirtualBox *virtualbox, const char *aResolvConfFileName)
dbbd0cae65188dffbd927bdde2d88cbeec2e26davboxsync int rc = rcp_parse(&st, m->resolvConfFilename.c_str());
dbbd0cae65188dffbd927bdde2d88cbeec2e26davboxsync for (unsigned i = 0; i != st.rcps_num_nameserver; ++i)
dbbd0cae65188dffbd927bdde2d88cbeec2e26davboxsync for (unsigned i = 0; i != st.rcps_num_searchlist; ++i)