2015-08-14 09:17:01 +02:00
|
|
|
/*
|
|
|
|
|
* admin_server.h: admin methods to manage daemons and clients
|
|
|
|
|
*
|
|
|
|
|
* Copyright (C) 2016 Red Hat, Inc.
|
|
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
* License along with this library. If not, see
|
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
|
|
|
|
*
|
|
|
|
|
* Authors: Erik Skultety <eskultet@redhat.com>
|
|
|
|
|
* Martin Kletzander <mkletzan@redhat.com>
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __LIBVIRTD_ADMIN_SERVER_H__
|
|
|
|
|
# define __LIBVIRTD_ADMIN_SERVER_H__
|
|
|
|
|
|
|
|
|
|
# include "rpc/virnetdaemon.h"
|
2016-03-01 17:33:37 +01:00
|
|
|
# include "rpc/virnetserver.h"
|
2015-08-14 09:17:01 +02:00
|
|
|
|
2016-03-02 15:32:55 +01:00
|
|
|
int adminConnectListServers(virNetDaemonPtr dmn,
|
|
|
|
|
virNetServerPtr **servers,
|
|
|
|
|
unsigned int flags);
|
2015-08-14 09:17:01 +02:00
|
|
|
|
2016-03-01 17:33:37 +01:00
|
|
|
virNetServerPtr adminConnectLookupServer(virNetDaemonPtr dmn,
|
|
|
|
|
const char *name,
|
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
2015-11-23 12:41:32 +01:00
|
|
|
int
|
|
|
|
|
adminServerGetThreadPoolParameters(virNetServerPtr srv,
|
|
|
|
|
virTypedParameterPtr *params,
|
|
|
|
|
int *nparams,
|
|
|
|
|
unsigned int flags);
|
2016-02-22 14:24:04 +01:00
|
|
|
int
|
|
|
|
|
adminServerSetThreadPoolParameters(virNetServerPtr srv,
|
|
|
|
|
virTypedParameterPtr params,
|
|
|
|
|
int nparams,
|
|
|
|
|
unsigned int flags);
|
2015-11-23 12:41:32 +01:00
|
|
|
|
2016-04-15 00:20:11 +02:00
|
|
|
int adminServerListClients(virNetServerPtr srv,
|
|
|
|
|
virNetServerClientPtr **clients,
|
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
2016-04-22 09:47:09 +02:00
|
|
|
virNetServerClientPtr adminServerLookupClient(virNetServerPtr srv,
|
|
|
|
|
unsigned long long id,
|
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
2016-04-22 13:05:42 +02:00
|
|
|
int adminClientGetInfo(virNetServerClientPtr client,
|
|
|
|
|
virTypedParameterPtr *params,
|
|
|
|
|
int *nparams,
|
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
2016-04-28 10:26:25 +02:00
|
|
|
int adminClientClose(virNetServerClientPtr client,
|
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
2016-04-04 10:28:22 +02:00
|
|
|
int adminServerGetClientLimits(virNetServerPtr srv,
|
|
|
|
|
virTypedParameterPtr *params,
|
|
|
|
|
int *nparams,
|
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
2016-04-04 14:24:52 +02:00
|
|
|
int adminServerSetClientLimits(virNetServerPtr srv,
|
|
|
|
|
virTypedParameterPtr params,
|
|
|
|
|
int nparams,
|
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
2015-08-14 09:17:01 +02:00
|
|
|
#endif /* __LIBVIRTD_ADMIN_SERVER_H__ */
|