]> xenbits.xensource.com Git - libvirt.git/commit
admin: Rename virAdmConnect to virAdmDaemon
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 25 Nov 2015 15:59:30 +0000 (16:59 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 1 Dec 2015 10:44:48 +0000 (11:44 +0100)
commitdf8192aaf42266b1d7aafe8f70d8e4ec910cac49
tree3b8b834ec9d74b9fb7fb1fd8b4610a6731099808
parent15b0a6d641cde9289aaebfce2fee26d2d838256d
admin: Rename virAdmConnect to virAdmDaemon

virAdmConnect was named after virConnect, but after some discussions,
most of the APIs called will be working with remote daemon and starting
them virAdmDaemon will make more sense.  Only possibly controversal name
is CloseCallback (de)registration, and connecting to the daemon (which
will still be Open/Close), but even this makes sense if one thinks about
the daemon being opened and closed, e.g. as file, etc.

This way all the APIs working with the daemon will start with
virAdmDaemon prefix, they will accept virAdmDaemonPtr as first parameter
and that will better suit with other namings as well (virDomain*,
virAdmServer*, etc.).

Because in virt-admin, the connection name does not refer to a struct
that would have a connect in its name, also adjust 'connname' in
clients.  And because it is not used anywhere in the vsh code, move it
from there into each client.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
16 files changed:
daemon/admin_server.c
include/libvirt/libvirt-admin.h
src/admin/admin_protocol.x
src/admin/admin_remote.c
src/admin_protocol-structs
src/datatypes.c
src/datatypes.h
src/libvirt-admin.c
src/libvirt_admin_private.syms
src/libvirt_admin_public.syms
src/rpc/gendispatch.pl
tools/virsh.c
tools/virsh.h
tools/virt-admin.c
tools/virt-admin.h
tools/vsh.h