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

[libvirt] Some questions about virConnectAuthCallbackPtr



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


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