config->keepalive_interval,
config->keepalive_count,
config->mdns_adv ? config->mdns_name : NULL,
- remoteClientInitHook,
+ remoteClientNew,
NULL,
- remoteClientFreeFunc,
+ remoteClientFree,
NULL))) {
ret = VIR_DAEMON_ERR_INIT;
goto cleanup;
config->admin_keepalive_interval,
config->admin_keepalive_count,
NULL,
- remoteAdmClientInitHook,
+ remoteAdmClientNew,
NULL,
- remoteAdmClientFreeFunc,
+ remoteAdmClientFree,
dmn))) {
ret = VIR_DAEMON_ERR_INIT;
goto cleanup;
* We keep the libvirt connection open until any async
* jobs have finished, then clean it up elsewhere
*/
-void remoteClientFreeFunc(void *data)
+void remoteClientFree(void *data)
{
struct daemonClientPrivate *priv = data;
}
-void *remoteClientInitHook(virNetServerClientPtr client,
- void *opaque ATTRIBUTE_UNUSED)
+void *remoteClientNew(virNetServerClientPtr client,
+ void *opaque ATTRIBUTE_UNUSED)
{
struct daemonClientPrivate *priv;
extern virNetServerProgramProc qemuProcs[];
extern size_t qemuNProcs;
-void remoteClientFreeFunc(void *data);
-void *remoteClientInitHook(virNetServerClientPtr client,
- void *opaque);
+void remoteClientFree(void *data);
+void *remoteClientNew(virNetServerClientPtr client,
+ void *opaque);
#endif /* __LIBVIRTD_REMOTE_H__ */
};
void
-remoteAdmClientFreeFunc(void *data)
+remoteAdmClientFree(void *data)
{
struct daemonAdmClientPrivate *priv = data;
}
void *
-remoteAdmClientInitHook(virNetServerClientPtr client ATTRIBUTE_UNUSED,
- void *opaque)
+remoteAdmClientNew(virNetServerClientPtr client ATTRIBUTE_UNUSED,
+ void *opaque)
{
struct daemonAdmClientPrivate *priv;
extern virNetServerProgramProc adminProcs[];
extern size_t adminNProcs;
-void remoteAdmClientFreeFunc(void *data);
-void *remoteAdmClientInitHook(virNetServerClientPtr client, void *opaque);
+void remoteAdmClientFree(void *data);
+void *remoteAdmClientNew(virNetServerClientPtr client, void *opaque);
#endif /* __ADMIN_SERVER_DISPATCH_H__ */