]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: utility function virNWFilterVarValueEqual
authorStefan Berger <stefanb@us.ibm.com>
Thu, 29 Nov 2012 17:49:32 +0000 (12:49 -0500)
committerLaine Stump <laine@laine.org>
Mon, 3 Dec 2012 19:35:58 +0000 (14:35 -0500)
commitab4139a4932aecef09bcac1d8764938b047bcfc6
tree4166e37e9d1c87d9f107fb27c986ef54e93b0efe
parent3738cf41f1012eca419e8fa0fa0575cb1e0552e3
nwfilter: utility function virNWFilterVarValueEqual

To detect if an interface's nwfilter has changed, we need to also
compare the filterparams, which is a hashtable of virNWFilterVarValue.
virHashEqual can do this nicely, but requires a pointer to a function
that will compare two of the items being stored in the hashes.
src/conf/nwfilter_params.c
src/conf/nwfilter_params.h
src/libvirt_private.syms