]> git.ipfire.org Git - thirdparty/libvirt.git/commit
list: Add helpers for listing storage pool objects
authorOsier Yang <jyang@redhat.com>
Tue, 4 Sep 2012 15:16:25 +0000 (23:16 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 6 Sep 2012 13:59:00 +0000 (21:59 +0800)
commit84208a4a8ba00f2a9317675925d25835751b6488
tree4b2c6a74417ef6854b31ad5ed3848b1d9e1689c6
parent075c754af0fe28dc88563125fe5635cc3410f604
list: Add helpers for listing storage pool objects

src/conf/storage_conf.c: Add virStoragePoolMatch to filter the
pools; Add virStoragePoolList to iterate over the pool objects
with filter.

src/conf/storage_conf.h: Declare virStoragePoolMatch,
virStoragePoolList, and the macros for filters.

src/libvirt_private.syms: Export helper virStoragePoolList.
src/conf/storage_conf.c
src/conf/storage_conf.h
src/libvirt_private.syms