mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
libvirtd: rename virNetServerClient callback impls to match type names
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
b1e03dad86
commit
99d69f6925
@ -1311,9 +1311,9 @@ int main(int argc, char **argv) {
|
|||||||
config->keepalive_interval,
|
config->keepalive_interval,
|
||||||
config->keepalive_count,
|
config->keepalive_count,
|
||||||
config->mdns_adv ? config->mdns_name : NULL,
|
config->mdns_adv ? config->mdns_name : NULL,
|
||||||
remoteClientInitHook,
|
remoteClientNew,
|
||||||
NULL,
|
NULL,
|
||||||
remoteClientFreeFunc,
|
remoteClientFree,
|
||||||
NULL))) {
|
NULL))) {
|
||||||
ret = VIR_DAEMON_ERR_INIT;
|
ret = VIR_DAEMON_ERR_INIT;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
@ -1385,9 +1385,9 @@ int main(int argc, char **argv) {
|
|||||||
config->admin_keepalive_interval,
|
config->admin_keepalive_interval,
|
||||||
config->admin_keepalive_count,
|
config->admin_keepalive_count,
|
||||||
NULL,
|
NULL,
|
||||||
remoteAdmClientInitHook,
|
remoteAdmClientNew,
|
||||||
NULL,
|
NULL,
|
||||||
remoteAdmClientFreeFunc,
|
remoteAdmClientFree,
|
||||||
dmn))) {
|
dmn))) {
|
||||||
ret = VIR_DAEMON_ERR_INIT;
|
ret = VIR_DAEMON_ERR_INIT;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
@ -1734,7 +1734,7 @@ remoteClientFreePrivateCallbacks(struct daemonClientPrivate *priv)
|
|||||||
* We keep the libvirt connection open until any async
|
* We keep the libvirt connection open until any async
|
||||||
* jobs have finished, then clean it up elsewhere
|
* jobs have finished, then clean it up elsewhere
|
||||||
*/
|
*/
|
||||||
void remoteClientFreeFunc(void *data)
|
void remoteClientFree(void *data)
|
||||||
{
|
{
|
||||||
struct daemonClientPrivate *priv = data;
|
struct daemonClientPrivate *priv = data;
|
||||||
|
|
||||||
@ -1757,7 +1757,7 @@ static void remoteClientCloseFunc(virNetServerClientPtr client)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void *remoteClientInitHook(virNetServerClientPtr client,
|
void *remoteClientNew(virNetServerClientPtr client,
|
||||||
void *opaque ATTRIBUTE_UNUSED)
|
void *opaque ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
struct daemonClientPrivate *priv;
|
struct daemonClientPrivate *priv;
|
||||||
|
@ -38,8 +38,8 @@ extern size_t lxcNProcs;
|
|||||||
extern virNetServerProgramProc qemuProcs[];
|
extern virNetServerProgramProc qemuProcs[];
|
||||||
extern size_t qemuNProcs;
|
extern size_t qemuNProcs;
|
||||||
|
|
||||||
void remoteClientFreeFunc(void *data);
|
void remoteClientFree(void *data);
|
||||||
void *remoteClientInitHook(virNetServerClientPtr client,
|
void *remoteClientNew(virNetServerClientPtr client,
|
||||||
void *opaque);
|
void *opaque);
|
||||||
|
|
||||||
#endif /* __LIBVIRTD_REMOTE_H__ */
|
#endif /* __LIBVIRTD_REMOTE_H__ */
|
||||||
|
@ -52,7 +52,7 @@ struct daemonAdmClientPrivate {
|
|||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
remoteAdmClientFreeFunc(void *data)
|
remoteAdmClientFree(void *data)
|
||||||
{
|
{
|
||||||
struct daemonAdmClientPrivate *priv = data;
|
struct daemonAdmClientPrivate *priv = data;
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ remoteAdmClientFreeFunc(void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
remoteAdmClientInitHook(virNetServerClientPtr client ATTRIBUTE_UNUSED,
|
remoteAdmClientNew(virNetServerClientPtr client ATTRIBUTE_UNUSED,
|
||||||
void *opaque)
|
void *opaque)
|
||||||
{
|
{
|
||||||
struct daemonAdmClientPrivate *priv;
|
struct daemonAdmClientPrivate *priv;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
extern virNetServerProgramProc adminProcs[];
|
extern virNetServerProgramProc adminProcs[];
|
||||||
extern size_t adminNProcs;
|
extern size_t adminNProcs;
|
||||||
|
|
||||||
void remoteAdmClientFreeFunc(void *data);
|
void remoteAdmClientFree(void *data);
|
||||||
void *remoteAdmClientInitHook(virNetServerClientPtr client, void *opaque);
|
void *remoteAdmClientNew(virNetServerClientPtr client, void *opaque);
|
||||||
|
|
||||||
#endif /* __ADMIN_SERVER_DISPATCH_H__ */
|
#endif /* __ADMIN_SERVER_DISPATCH_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user