Some questions about virConnectAuthCallbackPtr

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

 



Some questions which seem to be left ambigious by the documentation
for virConnectAuthCallbackPtr:

http://libvirt.org/html/libvirt-libvirt.html#virConnectAuthCallbackPtr

(1) For a single open, can this be called multiple times?  I'm
thinking, some authentication methods might give the user N attempts
at typing the password, which might result in N callbacks here.

(2) The documentation says: "Returns: 0 if all interactions were
filled, or -1 upon error".  However it also says "If an interaction
cannot be filled, fill in NULL and 0".  Does that mean it's OK (not an
error, return 0) if a result field is set to NULL?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

--
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]