]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
list: Add helpers to list network objects
authorOsier Yang <jyang@redhat.com>
Tue, 4 Sep 2012 15:55:17 +0000 (23:55 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 11 Sep 2012 08:59:51 +0000 (16:59 +0800)
commitd3c6cabbac0329da2bdda9bc603fa3c1c18633e5
tree97b48a69215e71357fe9b42932549e4096375760
parenteff8a8dbb1579835b985d4f1cc231b56835b5e8f
list: Add helpers to list network objects

src/conf/network_conf.c: Add virNetworkMatch to filter the networks;
and virNetworkList to iterate over all the networks with the filter.

src/conf/network_conf.h: Declare virNetworkList and define the macros
for filters.

src/libvirt_private.syms: Export virNetworkList.
src/conf/network_conf.c
src/conf/network_conf.h
src/libvirt_private.syms