]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cleanup: make several interface functions commonly available
authorStefan Berger <stefanb@us.ibm.com>
Wed, 22 Jun 2011 18:28:57 +0000 (14:28 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 22 Jun 2011 18:28:57 +0000 (14:28 -0400)
commitdf3d8c362d3f217760fd9534f55013810b8febac
tree789abea21c2d7da34cb4592ff0684da4a5285c07
parent6a5978833a51990a83da86ea1e333768290e171a
cleanup: make several interface functions commonly available

In a second cleanup step this patch makes several interface functions from macvtap.c commonly available by moving them into interface.c and prefixing their names with 'iface'. Those functions taking Linux-specific structures as parameters are only visible on Linux.

ifaceRestoreMacAddress returns the return code from the ifaceSetMacAddr call and display an error message if setting the MAC address did not work. The caller is unchanged and still ignores the return code (which is ok).
src/libvirt_private.syms
src/util/interface.c
src/util/interface.h
src/util/macvtap.c