提交 40409418 编写于 作者: D Daniel P. Berrange 提交者: Martin Kletzander

rpc: Make virNetServerAddClient function dynamic

As opposed to 'static'; by exporting it (privately).
Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 9cb18291
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册