]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: Separate private APIs declaration to bridge_driver_priv.h
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 27 Jan 2026 19:38:21 +0000 (20:38 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 29 Jan 2026 12:38:16 +0000 (13:38 +0100)
commite047ae9ec3bc9476b167a3b1ba0bc983d27daad0
treeb07d8c3092318a80b63e2c2007b37d554dccd5be
parent9d6f5ac1f31a2fedd6ce2e40932411e446b4e2cd
network: Separate private APIs declaration to bridge_driver_priv.h

There are two functions implemented in bridge_driver.c that are
used in tests (networkDnsmasqCreateXMLConf() and
networkDnsmasqConfContents()) but are declared in
bridge_driver.h. This goes against our current practice where
such APIs are declared in $name_priv.h.

Therefore, move those APIs to bridge_driver_priv.h

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/network/bridge_driver.c
src/network/bridge_driver.h
src/network/bridge_driver_priv.h [new file with mode: 0644]
tests/networkxml2conftest.c
tests/networkxml2xmltest.c