Re: [PATCH libvirt-glib] docs: Document gvir_connection_get_{storage_pools, networks, domains}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 27, 2016 at 10:27:17AM +0200, Christophe Fergeau wrote:
> 
> Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>
> 
> (I'm assuming you can push to libvirt-glib, let me know if that's not
> the case).

Pushed. Thanks!
 -- Guido

> 
> Christophe
> 
> On Wed, Jul 27, 2016 at 08:59:54AM +0200, Guido Günther wrote:
> > In contrast to libvirt itself all get_* methods need to prefetch the
> > corresponding information first so document this.
> > ---
> >  libvirt-gobject/libvirt-gobject-connection.c | 15 +++++++++++++++
> >  1 file changed, 15 insertions(+)
> > 
> > diff --git a/libvirt-gobject/libvirt-gobject-connection.c b/libvirt-gobject/libvirt-gobject-connection.c
> > index 00d5eda..3f17265 100644
> > --- a/libvirt-gobject/libvirt-gobject-connection.c
> > +++ b/libvirt-gobject/libvirt-gobject-connection.c
> > @@ -700,6 +700,11 @@ void gvir_connection_close(GVirConnection *conn)
> >   * gvir_connection_fetch_domains:
> >   * @conn: a #GVirConnection
> >   * @cancellable: (allow-none)(transfer none): cancellation object
> > + *
> > + * Use this method to fetch all domains managed by connection
> > + * @conn. Use e.g. #gvir_connection_find_domain_by_id or
> > + * #gvir_connection_get_domain afterwards to query the fetched
> > + * domains.
> >   */
> >  gboolean gvir_connection_fetch_domains(GVirConnection *conn,
> >                                         GCancellable *cancellable,
> > @@ -783,6 +788,11 @@ cleanup:
> >   * gvir_connection_fetch_storage_pools:
> >   * @conn: a #GVirConnection
> >   * @cancellable: (allow-none)(transfer none): cancellation object
> > + *
> > + * Use this method to fetch all storage pools managed by connection
> > + * @conn. Use e.g. #gvir_connection_find_storage_pool_by_name or
> > + * #gvir_connection_get_storage_pools afterwards to query the fetched
> > + * pools.
> >   */
> >  gboolean gvir_connection_fetch_storage_pools(GVirConnection *conn,
> >                                               GCancellable *cancellable,
> > @@ -1722,6 +1732,11 @@ GVirInterface *gvir_connection_find_interface_by_mac(GVirConnection *conn,
> >   * gvir_connection_fetch_networks:
> >   * @conn: a #GVirConnection
> >   * @cancellable: (allow-none)(transfer none): cancellation object
> > + *
> > + * Use this method to fetch all networks managed by connection
> > + * @conn. Use e.g. #gvir_connection_find_network_by_name or
> > + * #gvir_connection_get_networks afterwards to query the fetched
> > + * domains.
> >   */
> >  gboolean gvir_connection_fetch_networks(GVirConnection *conn,
> >                                          GCancellable *cancellable,
> > -- 
> > 2.8.1
> > 
> > --
> > libvir-list mailing list
> > libvir-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/libvir-list


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]