
On 07/20/2012 08:24 AM, Osier Yang wrote:
src/conf/virobjectlist.c: Add virStoragePoolMatch to filter the pools; Add virStoragePoolList to iterate over the pool objects with filter.
src/conf/virobjectlist.h: Declare virStoragePoolMatch, virStoragePoolList, and the macros for filters.
src/libvirt_private.syms: Export helper virStoragePoolList. --- src/conf/virobjectlist.c | 118 ++++++++++++++++++++++++++++++++++++++++++++++ src/conf/virobjectlist.h | 36 ++++++++++++++ src/libvirt_private.syms | 1 + 3 files changed, 155 insertions(+), 0 deletions(-)
+#define MATCH(FLAG) (flags & (FLAG)) +static bool +virStoragePoolMatch (virStoragePoolObjPtr poolobj,
No space before (. ACK. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org