2019-07-03 01:14:50 +02:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-08-21 21:50:44 +02:00
|
|
|
struct resolve *resolve_new(uint32_t ifindex);
|
2020-11-18 16:58:28 +01:00
|
|
|
void resolve_set_dns(struct resolve *resolve, char **dns_list);
|
2020-08-21 21:50:44 +02:00
|
|
|
void resolve_add_domain_name(struct resolve *resolve, const char *domain_name);
|
|
|
|
void resolve_revert(struct resolve *resolve);
|
|
|
|
void resolve_free(struct resolve *resolve);
|