]> xenbits.xensource.com Git - libvirt.git/commitdiff
admin: include: Rename argument dmn to conn in virAdmConnectListServers
authorErik Skultety <eskultet@redhat.com>
Tue, 17 May 2016 10:39:02 +0000 (12:39 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 17 May 2016 10:45:48 +0000 (12:45 +0200)
This is just a trivial cosmetic change, throughout all the APIs the argument
is called conn as from 'connection', having 'dmn' at just this single place
might look odd, so better change it now when the interface is still explicitly
disabled and we still have the ability to alter the signatures and public
names before officially enabling it.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
include/libvirt/libvirt-admin.h

index 4e6074e6a335232702dac32b072609c7def1bd25..bde4aefd79471833236ab17f707dae3b9e0d0e6a 100644 (file)
@@ -91,7 +91,7 @@ int virAdmConnectRef(virAdmConnectPtr conn);
 int virAdmConnectIsAlive(virAdmConnectPtr conn);
 int virAdmServerFree(virAdmServerPtr srv);
 
-int virAdmConnectListServers(virAdmConnectPtr dmn,
+int virAdmConnectListServers(virAdmConnectPtr conn,
                              virAdmServerPtr **servers,
                              unsigned int flags);