On Tue, Jul 21, 2009 at 06:34:31PM +0200, Thomas Treutner wrote: > On Tuesday 21 July 2009 18:23:16 Thomas Treutner wrote: > > I think there's a c&p error: > > > > http://libvirt.org/html/libvirt-libvirt.html#virStoragePoolUndefine > > > > "Returns: a virStoragePoolPtr object, or NULL if creation failed" > > > > I assume it is "0 on success, -1 on failure" as the return is of type int. > > And a small follow-up: > > In libvirt-java, StoragePool::Undefine() has return type void. So I don't know > what's really going on there ;-) they are just forgetting the return value :-\ Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list