libvirt/src/test
Michal Privoznik 68818dcdd5 virNetworkObjFindBy*: Return an reference to found object
This patch turns both virNetworkObjFindByUUID() and
virNetworkObjFindByName() to return an referenced object so that
even if caller unlocks it, it's for sure that object won't
disappear meanwhile. Especially if the object (in general) is
locked and unlocked during the caller run.
Moreover, this commit is nicely small, since the object unrefing
can be done in virNetworkObjEndAPI().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2015-03-11 16:58:49 +01:00
..
test_driver.c virNetworkObjFindBy*: Return an reference to found object 2015-03-11 16:58:49 +01:00
test_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00