1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00

Rename virNetServerClient*AddrString

Add SASL at the end to make the format obvious.
This commit is contained in:
Ján Tomko 2016-06-20 16:04:49 +02:00
parent ea537e7b36
commit eaf7ff3873
4 changed files with 8 additions and 8 deletions

View File

@ -3028,8 +3028,8 @@ remoteDispatchAuthSaslInit(virNetServerPtr server ATTRIBUTE_UNUSED,
sasl = virNetSASLSessionNewServer(saslCtxt,
"libvirt",
virNetServerClientLocalAddrString(client),
virNetServerClientRemoteAddrString(client));
virNetServerClientLocalAddrStringSASL(client),
virNetServerClientRemoteAddrStringSASL(client));
if (!sasl)
goto authfail;

View File

@ -139,12 +139,12 @@ virNetServerClientInitKeepAlive;
virNetServerClientIsClosed;
virNetServerClientIsLocal;
virNetServerClientIsSecure;
virNetServerClientLocalAddrString;
virNetServerClientLocalAddrStringSASL;
virNetServerClientNeedAuth;
virNetServerClientNew;
virNetServerClientNewPostExecRestart;
virNetServerClientPreExecRestart;
virNetServerClientRemoteAddrString;
virNetServerClientRemoteAddrStringSASL;
virNetServerClientRemoteAddrStringURI;
virNetServerClientRemoveFilter;
virNetServerClientSendMessage;

View File

@ -903,7 +903,7 @@ void virNetServerClientSetDispatcher(virNetServerClientPtr client,
}
const char *virNetServerClientLocalAddrString(virNetServerClientPtr client)
const char *virNetServerClientLocalAddrStringSASL(virNetServerClientPtr client)
{
if (!client->sock)
return NULL;
@ -911,7 +911,7 @@ const char *virNetServerClientLocalAddrString(virNetServerClientPtr client)
}
const char *virNetServerClientRemoteAddrString(virNetServerClientPtr client)
const char *virNetServerClientRemoteAddrStringSASL(virNetServerClientPtr client)
{
if (!client->sock)
return NULL;

View File

@ -138,8 +138,8 @@ bool virNetServerClientCheckKeepAlive(virNetServerClientPtr client,
virNetMessagePtr msg);
int virNetServerClientStartKeepAlive(virNetServerClientPtr client);
const char *virNetServerClientLocalAddrString(virNetServerClientPtr client);
const char *virNetServerClientRemoteAddrString(virNetServerClientPtr client);
const char *virNetServerClientLocalAddrStringSASL(virNetServerClientPtr client);
const char *virNetServerClientRemoteAddrStringSASL(virNetServerClientPtr client);
const char *virNetServerClientRemoteAddrStringURI(virNetServerClientPtr client);
int virNetServerClientSendMessage(virNetServerClientPtr client,