maint: avoid 'const fooPtr' in public API
maint: avoid 'const fooPtr' in public API

'const fooPtr' is the same as 'foo * const' (the pointer won't
change, but it's contents can).  But in general, if an interface
is trying to be const-correct, it should be using 'const foo *'
(the pointer is to data that can't be changed).

Fix up offenders in the public API.  Note that this is an API change;
but see commit 6ac6f59, where we first argued that this change is
harmless (but with that commit not actually making the change that it
claimed to be making):

    Although this is an API change (not ABI though), real callers won't be
    impacted. Why?
     1. these callback members are read-only, so it is less likely that
    someone is trying to assign into the struct members.
     2. The only way to register a virConnectDomainEventGraphicsCallback is
    to cast it through a call to virConnectDomainEventRegisterAny.  That is,
    even if the user's callback function leaves out the const, we never use
    the typedef as the direct type of any API parameter.  Since they are
    already casting their function pointer into a munged type before
    registering it, their code will continue to compile.

* include/libvirt/libvirt.h.in
(virConnectDomainEventGraphicsCallback): Use intended type.

datto/libvirt,agx/libvirt,nertpinx/libvirt,datto/libvirt,jardasgit/libvirt,zippy2/libvirt,agx/libvirt,andreabolognani/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,libvirt/libvirt,taget/libvirt,olafhering/libvirt,olafhering/libvirt,eskultety/libvirt,andreabolognani/libvirt,datto/libvirt,VenkatDatta/libvirt,elmarco/libvirt,crobinso/libvirt,elmarco/libvirt,nertpinx/libvirt,agx/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,eskultety/libvirt,zippy2/libvirt,zippy2/libvirt,jardasgit/libvirt,jardasgit/libvirt,eskultety/libvirt,shugaoye/libvirt,jfehlig/libvirt,cbosdo/libvirt,jfehlig/libvirt,elmarco/libvirt,zippy2/libvirt,VenkatDatta/libvirt,olafhering/libvirt,datto/libvirt,taget/libvirt,fabianfreyer/libvirt,taget/libvirt,libvirt/libvirt,VenkatDatta/libvirt,libvirt/libvirt,jardasgit/libvirt,jardasgit/libvirt,crobinso/libvirt,VenkatDatta/libvirt,zhlcindy/libvirt-1.1.4-maintain,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,zhlcindy/libvirt-1.1.4-maintain,cbosdo/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,jfehlig/libvirt,datto/libvirt,cbosdo/libvirt,eskultety/libvirt,VenkatDatta/libvirt,taget/libvirt,elmarco/libvirt,jfehlig/libvirt,crobinso/libvirt,rlaager/libvirt,nertpinx/libvirt,nertpinx/libvirt,nertpinx/libvirt,libvirt/libvirt,cbosdo/libvirt,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,olafhering/libvirt,fabianfreyer/libvirt,crobinso/libvirt,shugaoye/libvirt,rlaager/libvirt,rlaager/libvirt,agx/libvirt,shugaoye/libvirt,cbosdo/libvirt,andreabolognani/libvirt,agx/libvirt,elmarco/libvirt,andreabolognani/libvirt,taget/libvirt,fabianfreyer/libvirt