[libvirt] [PATCH 04/49] list: Add helpers for listing storage pool objects

Eric Blake eblake at redhat.com
Sat Jul 21 04:55:44 UTC 2012


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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120720/44885df3/attachment-0001.sig>


More information about the libvir-list mailing list