20#ifndef KIGIT_REMOTE_URL_H
21#define KIGIT_REMOTE_URL_H
#define APIEXPORT
Macros which export functions from a DLL/DSO.
wxString PrintableServerText(const wxString &aText)
Text a server sent, made safe to show by removing terminal escapes, control and bidi characters,...
wxString DecodeServerText(const char *aData, size_t aLength)
Bytes a server sent, as UTF-8 or, when they are not valid UTF-8, one character for each byte.
wxString CredentialServer(const wxString &aUrl)
The host and port aUrl reaches, as host[:port] without the scheme's default port.
wxString CredentialRealm(const wxString &aUrl)
The server an HTTP(S) credential for aUrl serves, as scheme://host[:port] with no user,...
REMOTE_URL ParseRemoteURL(const wxString &aURL)
Split a remote address the way libgit2 reads it, so a host key is checked against the host it dials.
wxString StripEmbeddedUserinfo(const wxString &aText)
Remove the user and password from every URL quoted in a message, since the remote's can carry a passw...
A transport address with any embedded credentials extracted.
wxString url
Keeps the SSH username, scheme and port, but never a password.
int port
0 when the address names none.