iwd/src/resolve.c

59 lines
1.4 KiB
C
Raw Normal View History

/*
*
* Wireless daemon for Linux
*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <errno.h>
#include <ell/ell.h>
#include "src/iwd.h"
#include "src/resolve.h"
void resolve_add_dns(uint32_t ifindex, uint8_t type, char **dns_list)
{
}
void resolve_remove(uint32_t ifindex)
{
}
static int resolve_init(void)
{
bool enabled;
if (!l_settings_get_bool(iwd_get_config(), "General",
"enable_network_config", &enabled) ||
!enabled)
return 0;
return 0;
}
static void resolve_exit(void)
{
}
IWD_MODULE(resolve, resolve_init, resolve_exit)