]> xenbits.xensource.com Git - libvirt.git/commitdiff
Rename virNetServerClient*AddrString
authorJán Tomko <jtomko@redhat.com>
Mon, 20 Jun 2016 14:04:49 +0000 (16:04 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 23 Jun 2016 20:23:21 +0000 (22:23 +0200)
Add SASL at the end to make the format obvious.

daemon/remote.c
src/libvirt_remote.syms
src/rpc/virnetserverclient.c
src/rpc/virnetserverclient.h

index ea4753fb72370a7703b78e9999abfb20d9df0e84..5ee82bb30e144835abc4a8e8a8dfb1bdf69b9db7 100644 (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;
 
index 3858f4de8914e62e074ef8955499688dadad4609..a6192ef86a8b56928967a3319761c75a6e73a354 100644 (file)
@@ -139,12 +139,12 @@ virNetServerClientInitKeepAlive;
 virNetServerClientIsClosed;
 virNetServerClientIsLocal;
 virNetServerClientIsSecure;
-virNetServerClientLocalAddrString;
+virNetServerClientLocalAddrStringSASL;
 virNetServerClientNeedAuth;
 virNetServerClientNew;
 virNetServerClientNewPostExecRestart;
 virNetServerClientPreExecRestart;
-virNetServerClientRemoteAddrString;
+virNetServerClientRemoteAddrStringSASL;
 virNetServerClientRemoteAddrStringURI;
 virNetServerClientRemoveFilter;
 virNetServerClientSendMessage;
index 5aa7634866f5b8c68b6687a4938a5c781df6916c..39fe86073e25c63a0419b3972f14022ec17d912a 100644 (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;
index bb9c937406a2f7fcfb2b2f36f2cfcc1bb29cfbd3..c243a688250ffbd843d62fb98d19ed2db58c0ef5 100644 (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,