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:
parent
ea537e7b36
commit
eaf7ff3873
@ -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;
|
||||
|
||||
|
@ -139,12 +139,12 @@ virNetServerClientInitKeepAlive;
|
||||
virNetServerClientIsClosed;
|
||||
virNetServerClientIsLocal;
|
||||
virNetServerClientIsSecure;
|
||||
virNetServerClientLocalAddrString;
|
||||
virNetServerClientLocalAddrStringSASL;
|
||||
virNetServerClientNeedAuth;
|
||||
virNetServerClientNew;
|
||||
virNetServerClientNewPostExecRestart;
|
||||
virNetServerClientPreExecRestart;
|
||||
virNetServerClientRemoteAddrString;
|
||||
virNetServerClientRemoteAddrStringSASL;
|
||||
virNetServerClientRemoteAddrStringURI;
|
||||
virNetServerClientRemoveFilter;
|
||||
virNetServerClientSendMessage;
|
||||
|
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user