mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-01 02:25:24 +00:00
019b13dd20
Three parts of the code all build up the same SSH shell script snippet for remote tunneling the RPC protocol, but in slightly different ways. Combine them all into one helper method in the virNetClient code, since this logic doesn't really belong in the virNetSocket code. Note that the this change means the shell snippet is passed to the SSH binary as a single arg, instead of three separate args, but this is functionally identical, as the three separate args were combined into one already when passed to the remote system. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
282 lines
7.1 KiB
Plaintext
282 lines
7.1 KiB
Plaintext
#
|
|
# Private symbols used in RPC operations. Add symbols here, and see
|
|
# Makefile.am for more details.
|
|
#
|
|
# Keep this file sorted by header name, then by symbols with each header.
|
|
#
|
|
|
|
# Generated files
|
|
xdr_*;
|
|
# Hack only required for Win32 to make tests link properly,
|
|
# as the wildcard above doesn't work there. Fortunately
|
|
# Win32 builds don't require the other xdr_* syms exported.
|
|
# since there's no libvirtd built.
|
|
xdr_virNetMessageError;
|
|
|
|
|
|
# rpc/virnetclient.h
|
|
virNetClientAddProgram;
|
|
virNetClientAddStream;
|
|
virNetClientClose;
|
|
virNetClientDupFD;
|
|
virNetClientGetFD;
|
|
virNetClientGetTLSKeySize;
|
|
virNetClientHasPassFD;
|
|
virNetClientIsEncrypted;
|
|
virNetClientIsOpen;
|
|
virNetClientKeepAliveIsSupported;
|
|
virNetClientKeepAliveStart;
|
|
virNetClientKeepAliveStop;
|
|
virNetClientLocalAddrStringSASL;
|
|
virNetClientNewExternal;
|
|
virNetClientNewLibSSH2;
|
|
virNetClientNewSSH;
|
|
virNetClientNewTCP;
|
|
virNetClientNewUNIX;
|
|
virNetClientRegisterAsyncIO;
|
|
virNetClientRegisterKeepAlive;
|
|
virNetClientRemoteAddrStringSASL;
|
|
virNetClientRemoveStream;
|
|
virNetClientSendNonBlock;
|
|
virNetClientSendStream;
|
|
virNetClientSendWithReply;
|
|
virNetClientSetCloseCallback;
|
|
virNetClientSetTLSSession;
|
|
virNetClientSSHHelperCommand;
|
|
|
|
|
|
# rpc/virnetclientprogram.h
|
|
virNetClientProgramCall;
|
|
virNetClientProgramDispatch;
|
|
virNetClientProgramGetProgram;
|
|
virNetClientProgramGetVersion;
|
|
virNetClientProgramMatches;
|
|
virNetClientProgramNew;
|
|
|
|
|
|
# rpc/virnetclientstream.h
|
|
virNetClientStreamCheckSendStatus;
|
|
virNetClientStreamCheckState;
|
|
virNetClientStreamEOF;
|
|
virNetClientStreamEventAddCallback;
|
|
virNetClientStreamEventRemoveCallback;
|
|
virNetClientStreamEventUpdateCallback;
|
|
virNetClientStreamMatches;
|
|
virNetClientStreamNew;
|
|
virNetClientStreamQueuePacket;
|
|
virNetClientStreamRecvHole;
|
|
virNetClientStreamRecvPacket;
|
|
virNetClientStreamSendHole;
|
|
virNetClientStreamSendPacket;
|
|
virNetClientStreamSetError;
|
|
|
|
|
|
# rpc/virnetdaemon.h
|
|
virNetDaemonAddServer;
|
|
virNetDaemonAddShutdownInhibition;
|
|
virNetDaemonAddSignalHandler;
|
|
virNetDaemonAutoShutdown;
|
|
virNetDaemonGetServer;
|
|
virNetDaemonGetServers;
|
|
virNetDaemonHasClients;
|
|
virNetDaemonHasServer;
|
|
virNetDaemonIsPrivileged;
|
|
virNetDaemonNew;
|
|
virNetDaemonNewPostExecRestart;
|
|
virNetDaemonPreExecRestart;
|
|
virNetDaemonQuit;
|
|
virNetDaemonRemoveShutdownInhibition;
|
|
virNetDaemonRun;
|
|
virNetDaemonSetShutdownCallbacks;
|
|
virNetDaemonUpdateServices;
|
|
|
|
|
|
# rpc/virnetmessage.h
|
|
virNetMessageAddFD;
|
|
virNetMessageClear;
|
|
virNetMessageClearPayload;
|
|
virNetMessageDecodeHeader;
|
|
virNetMessageDecodeLength;
|
|
virNetMessageDecodeNumFDs;
|
|
virNetMessageDecodePayload;
|
|
virNetMessageDupFD;
|
|
virNetMessageEncodeHeader;
|
|
virNetMessageEncodeNumFDs;
|
|
virNetMessageEncodePayload;
|
|
virNetMessageEncodePayloadRaw;
|
|
virNetMessageFree;
|
|
virNetMessageNew;
|
|
virNetMessageQueuePush;
|
|
virNetMessageQueueServe;
|
|
virNetMessageSaveError;
|
|
|
|
|
|
# rpc/virnetserver.h
|
|
virNetServerAddClient;
|
|
virNetServerAddProgram;
|
|
virNetServerAddService;
|
|
virNetServerAddServiceTCP;
|
|
virNetServerAddServiceUNIX;
|
|
virNetServerClose;
|
|
virNetServerGetClient;
|
|
virNetServerGetClients;
|
|
virNetServerGetCurrentClients;
|
|
virNetServerGetCurrentUnauthClients;
|
|
virNetServerGetMaxClients;
|
|
virNetServerGetMaxUnauthClients;
|
|
virNetServerGetName;
|
|
virNetServerGetThreadPoolParameters;
|
|
virNetServerHasClients;
|
|
virNetServerNeedsAuth;
|
|
virNetServerNew;
|
|
virNetServerNewPostExecRestart;
|
|
virNetServerNextClientID;
|
|
virNetServerPreExecRestart;
|
|
virNetServerProcessClients;
|
|
virNetServerSetClientAuthenticated;
|
|
virNetServerSetClientLimits;
|
|
virNetServerSetThreadPoolParameters;
|
|
virNetServerSetTLSContext;
|
|
virNetServerUpdateServices;
|
|
virNetServerUpdateTlsFiles;
|
|
|
|
|
|
# rpc/virnetserverclient.h
|
|
virNetServerClientAddFilter;
|
|
virNetServerClientClose;
|
|
virNetServerClientCloseLocked;
|
|
virNetServerClientDelayedClose;
|
|
virNetServerClientGetAuth;
|
|
virNetServerClientGetFD;
|
|
virNetServerClientGetID;
|
|
virNetServerClientGetIdentity;
|
|
virNetServerClientGetInfo;
|
|
virNetServerClientGetPrivateData;
|
|
virNetServerClientGetReadonly;
|
|
virNetServerClientGetSELinuxContext;
|
|
virNetServerClientGetTimestamp;
|
|
virNetServerClientGetTLSKeySize;
|
|
virNetServerClientGetTLSSession;
|
|
virNetServerClientGetTransport;
|
|
virNetServerClientGetUNIXIdentity;
|
|
virNetServerClientHasTLSSession;
|
|
virNetServerClientImmediateClose;
|
|
virNetServerClientInit;
|
|
virNetServerClientInitKeepAlive;
|
|
virNetServerClientIsAuthenticated;
|
|
virNetServerClientIsAuthPendingLocked;
|
|
virNetServerClientIsClosedLocked;
|
|
virNetServerClientIsLocal;
|
|
virNetServerClientIsSecure;
|
|
virNetServerClientLocalAddrStringSASL;
|
|
virNetServerClientNew;
|
|
virNetServerClientNewPostExecRestart;
|
|
virNetServerClientPreExecRestart;
|
|
virNetServerClientRemoteAddrStringSASL;
|
|
virNetServerClientRemoteAddrStringURI;
|
|
virNetServerClientRemoveFilter;
|
|
virNetServerClientSendMessage;
|
|
virNetServerClientSetAuthLocked;
|
|
virNetServerClientSetAuthPendingLocked;
|
|
virNetServerClientSetCloseHook;
|
|
virNetServerClientSetDispatcher;
|
|
virNetServerClientSetIdentity;
|
|
virNetServerClientSetQuietEOF;
|
|
virNetServerClientSetReadonly;
|
|
virNetServerClientStartKeepAlive;
|
|
virNetServerClientWantCloseLocked;
|
|
|
|
|
|
# rpc/virnetserverprogram.h
|
|
virNetServerProgramDispatch;
|
|
virNetServerProgramGetID;
|
|
virNetServerProgramGetPriority;
|
|
virNetServerProgramGetVersion;
|
|
virNetServerProgramMatches;
|
|
virNetServerProgramNew;
|
|
virNetServerProgramSendReplyError;
|
|
virNetServerProgramSendStreamData;
|
|
virNetServerProgramSendStreamError;
|
|
virNetServerProgramSendStreamHole;
|
|
virNetServerProgramUnknownError;
|
|
|
|
|
|
# rpc/virnetserverservice.h
|
|
virNetServerServiceClose;
|
|
virNetServerServiceGetAuth;
|
|
virNetServerServiceGetMaxRequests;
|
|
virNetServerServiceGetPort;
|
|
virNetServerServiceGetTLSContext;
|
|
virNetServerServiceIsReadonly;
|
|
virNetServerServiceNewFDs;
|
|
virNetServerServiceNewPostExecRestart;
|
|
virNetServerServiceNewTCP;
|
|
virNetServerServiceNewUNIX;
|
|
virNetServerServicePreExecRestart;
|
|
virNetServerServiceSetDispatcher;
|
|
virNetServerServiceToggle;
|
|
|
|
|
|
# rpc/virnetsocket.h
|
|
virNetSocketAccept;
|
|
virNetSocketAddIOCallback;
|
|
virNetSocketCheckProtocols;
|
|
virNetSocketClose;
|
|
virNetSocketDupFD;
|
|
virNetSocketGetFD;
|
|
virNetSocketGetPath;
|
|
virNetSocketGetPort;
|
|
virNetSocketGetSELinuxContext;
|
|
virNetSocketGetUNIXIdentity;
|
|
virNetSocketHasCachedData;
|
|
virNetSocketHasPassFD;
|
|
virNetSocketHasPendingData;
|
|
virNetSocketIsLocal;
|
|
virNetSocketListen;
|
|
virNetSocketLocalAddrStringSASL;
|
|
virNetSocketNewConnectCommand;
|
|
virNetSocketNewConnectExternal;
|
|
virNetSocketNewConnectLibSSH2;
|
|
virNetSocketNewConnectSockFD;
|
|
virNetSocketNewConnectSSH;
|
|
virNetSocketNewConnectTCP;
|
|
virNetSocketNewConnectUNIX;
|
|
virNetSocketNewListenFD;
|
|
virNetSocketNewListenTCP;
|
|
virNetSocketNewListenUNIX;
|
|
virNetSocketNewPostExecRestart;
|
|
virNetSocketPreExecRestart;
|
|
virNetSocketRead;
|
|
virNetSocketRecvFD;
|
|
virNetSocketRemoteAddrStringSASL;
|
|
virNetSocketRemoteAddrStringURI;
|
|
virNetSocketRemoveIOCallback;
|
|
virNetSocketSendFD;
|
|
virNetSocketSetBlocking;
|
|
virNetSocketSetTLSSession;
|
|
virNetSocketUpdateIOCallback;
|
|
virNetSocketWrite;
|
|
|
|
|
|
# rpc/virnettlscontext.h
|
|
virNetTLSContextCheckCertificate;
|
|
virNetTLSContextNewClient;
|
|
virNetTLSContextNewClientPath;
|
|
virNetTLSContextNewServer;
|
|
virNetTLSContextNewServerPath;
|
|
virNetTLSInit;
|
|
virNetTLSSessionGetHandshakeStatus;
|
|
virNetTLSSessionGetKeySize;
|
|
virNetTLSSessionGetX509DName;
|
|
virNetTLSSessionHandshake;
|
|
virNetTLSSessionNew;
|
|
virNetTLSSessionRead;
|
|
virNetTLSSessionSetIOCallbacks;
|
|
virNetTLSSessionWrite;
|
|
|
|
|
|
# Let emacs know we want case-insensitive sorting
|
|
# Local Variables:
|
|
# sort-fold-case: t
|
|
# End:
|