2008-10-10 13:57:13 +00:00
|
|
|
/*
|
2014-03-07 13:38:51 +00:00
|
|
|
* bridge_driver.h: core driver methods for managing networks
|
2008-10-10 13:57:13 +00:00
|
|
|
*
|
2016-04-01 13:45:51 +00:00
|
|
|
* Copyright (C) 2006-2016 Red Hat, Inc.
|
2008-10-10 13:57:13 +00:00
|
|
|
* Copyright (C) 2006 Daniel P. Berrange
|
|
|
|
*
|
|
|
|
* 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
|
2012-09-20 22:30:55 +00:00
|
|
|
* License along with this library. If not, see
|
2012-07-21 10:06:23 +00:00
|
|
|
* <http://www.gnu.org/licenses/>.
|
2008-10-10 13:57:13 +00:00
|
|
|
*/
|
|
|
|
|
2019-06-18 16:12:33 +00:00
|
|
|
#pragma once
|
2008-10-10 13:57:13 +00:00
|
|
|
|
2019-06-18 16:12:33 +00:00
|
|
|
#include "internal.h"
|
|
|
|
#include "domain_conf.h"
|
|
|
|
#include "vircommand.h"
|
|
|
|
#include "virdnsmasq.h"
|
|
|
|
#include "virnetworkobj.h"
|
2008-10-10 13:57:13 +00:00
|
|
|
|
2021-03-11 07:16:13 +00:00
|
|
|
virNetworkXMLOption *
|
2019-07-14 22:25:12 +00:00
|
|
|
networkDnsmasqCreateXMLConf(void);
|
|
|
|
|
2017-07-26 10:39:19 +00:00
|
|
|
int
|
|
|
|
networkRegister(void);
|
2011-07-04 06:27:12 +00:00
|
|
|
|
2017-07-26 10:39:19 +00:00
|
|
|
int
|
2021-03-11 07:16:13 +00:00
|
|
|
networkDnsmasqConfContents(virNetworkObj *obj,
|
2017-07-26 10:39:19 +00:00
|
|
|
const char *pidfile,
|
|
|
|
char **configstr,
|
2020-04-22 20:05:57 +00:00
|
|
|
char **hostsfilestr,
|
2017-07-26 10:39:19 +00:00
|
|
|
dnsmasqContext *dctx,
|
2021-03-11 07:16:13 +00:00
|
|
|
dnsmasqCaps *caps);
|