]> xenbits.xensource.com Git - libvirt.git/commit
admin: Introduce virAdmClientGetInfo API
authorErik Skultety <eskultet@redhat.com>
Fri, 22 Apr 2016 11:05:42 +0000 (13:05 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 3 May 2016 13:52:50 +0000 (15:52 +0200)
commit4a0e91082522addf852c7fc49609dc19068c5d26
tree5503858c722f19243254ebb698250e6b04007e37
parent8420a53edfc87bd104acffeb17eed3656e8f68ef
admin: Introduce virAdmClientGetInfo API

Expose a public API to retrieve some identity and connection information about
a client connected to the specified server on daemon. The identity info
retrieved is mostly connection transport dependent, i.e. there won't be any
socket address returned for a local (UNIX socket) connection, while on the
other hand, when connected through TLS or unencrypted TCP, obviously no UNIX
process identification will be present in the returned data. All supported
values that can be returned in typed params are exposed and documented in
include/libvirt/libvirt-admin.h

Signed-off-by: Erik Skultety <eskultet@redhat.com>
daemon/admin.c
daemon/admin_server.c
daemon/admin_server.h
include/libvirt/libvirt-admin.h
src/admin/admin_protocol.x
src/admin/admin_remote.c
src/admin_protocol-structs
src/libvirt-admin.c
src/libvirt_admin_private.syms
src/libvirt_admin_public.syms