#include "virerror.h"
#include "datatypes.h"
#include "bridge_driver.h"
+#define LIBVIRT_BRIDGE_DRIVER_PRIV_H_ALLOW
+#include "bridge_driver_priv.h"
#include "bridge_driver_platform.h"
#include "driver.h"
#include "virbuffer.h"
#pragma once
-#include "internal.h"
-#include "virdnsmasq.h"
-#include "virnetworkobj.h"
-
-virNetworkXMLOption *
-networkDnsmasqCreateXMLConf(void);
-
int
networkRegister(void);
-
-int
-networkDnsmasqConfContents(virNetworkObj *obj,
- const char *pidfile,
- char **configstr,
- char **hostsfilestr,
- dnsmasqContext *dctx,
- dnsmasqCaps *caps);
--- /dev/null
+/*
+ * bridge_driver_priv.h: private declarations for network driver
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
+#ifndef LIBVIRT_BRIDGE_DRIVER_PRIV_H_ALLOW
+# error "bridge_driver_priv.h may only be included by bridge_driver.c or test suites"
+#endif /* LIBVIRT_BRIDGE_DRIVER_PRIV_H_ALLOW */
+
+#pragma once
+
+#include "virdnsmasq.h"
+#include "virnetworkobj.h"
+
+virNetworkXMLOption *
+networkDnsmasqCreateXMLConf(void);
+
+int
+networkDnsmasqConfContents(virNetworkObj *obj,
+ const char *pidfile,
+ char **configstr,
+ char **hostsfilestr,
+ dnsmasqContext *dctx,
+ dnsmasqCaps *caps);
#include "network_conf.h"
#include "viralloc.h"
#include "bridge_driver.h"
+#define LIBVIRT_BRIDGE_DRIVER_PRIV_H_ALLOW
+#include "bridge_driver_priv.h"
#define LIBVIRT_VIRCOMMANDPRIV_H_ALLOW
#include "vircommandpriv.h"
#include "testutils.h"
#include "network_conf.h"
#include "bridge_driver.h"
+#define LIBVIRT_BRIDGE_DRIVER_PRIV_H_ALLOW
+#include "bridge_driver_priv.h"
#define VIR_FROM_THIS VIR_FROM_NONE