Connect: add auth/credential handling for connect
authorPino Toscano <ptoscano@redhat.com>
Thu, 30 Aug 2018 10:13:36 +0000 (12:13 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 30 Aug 2018 10:26:32 +0000 (11:26 +0100)
commit1ea690b8c809f3b13cb6400721cf28e65b13ca39
treedacba050fd60743ed9a3d5d23ec6f4969f1ad54e
parentafa590cde00a228a062461847a116d70145ef77f
Connect: add auth/credential handling for connect

Add OCaml versions of virConnectCredential & virConnectAuth structs,
using them to implement proper connect_auth & connect_auth_readonly.

This makes it possible to properly supply credentials when opening a
connection.
libvirt/libvirt.ml
libvirt/libvirt.mli
libvirt/libvirt_c_epilogue.c
libvirt/libvirt_c_oneoffs.c
libvirt/libvirt_c_prologue.c