mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
rpc: Make virNetServerAddClient function dynamic
As opposed to 'static'; by exporting it (privately). Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
9cb18291af
commit
404094187a
@ -77,6 +77,7 @@ xdr_virNetMessageError;
|
||||
|
||||
|
||||
# rpc/virnetserver.h
|
||||
virNetServerAddClient;
|
||||
virNetServerAddProgram;
|
||||
virNetServerAddService;
|
||||
virNetServerAddShutdownInhibition;
|
||||
|
@ -259,8 +259,8 @@ static int virNetServerDispatchNewMessage(virNetServerClientPtr client,
|
||||
}
|
||||
|
||||
|
||||
static int virNetServerAddClient(virNetServerPtr srv,
|
||||
virNetServerClientPtr client)
|
||||
int virNetServerAddClient(virNetServerPtr srv,
|
||||
virNetServerClientPtr client)
|
||||
{
|
||||
virObjectLock(srv);
|
||||
|
||||
|
@ -79,6 +79,9 @@ int virNetServerAddService(virNetServerPtr srv,
|
||||
virNetServerServicePtr svc,
|
||||
const char *mdnsEntryName);
|
||||
|
||||
int virNetServerAddClient(virNetServerPtr srv,
|
||||
virNetServerClientPtr client);
|
||||
|
||||
int virNetServerAddProgram(virNetServerPtr srv,
|
||||
virNetServerProgramPtr prog);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user