summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/bridge_driver.h')
-rw-r--r--src/network/bridge_driver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/bridge_driver.h b/src/network/bridge_driver.h
index 8d82b6771..a106e3df5 100644
--- a/src/network/bridge_driver.h
+++ b/src/network/bridge_driver.h
@@ -34,4 +34,9 @@
int networkRegister(void);
int networkBuildDhcpDaemonCommandLine(virNetworkObjPtr network, virCommandPtr *cmdout, char *pidfile);
+typedef char *(*networkDnsmasqLeaseFileNameFunc)(const char *netname);
+
+/* this allows the testsuite to replace the lease filename resolver function */
+extern networkDnsmasqLeaseFileNameFunc networkDnsmasqLeaseFileName;
+
#endif /* __VIR_NETWORK__DRIVER_H */