aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2015-09-17 13:32:44 +0200
committerFabiano FidĂȘncio <fidencio@redhat.com>2016-01-19 11:31:07 +0100
commit1102ea4c5551d0aa55e8f4cdd2a82741e8b16aad (patch)
treec0f7c5a646b79975a6d1e1e4980c186edad43fb7 /include/libssh
parentc487f5db5b75cee9aa61a4941bacb060d6c94a7c (diff)
downloadlibssh-1102ea4c5551d0aa55e8f4cdd2a82741e8b16aad.tar.gz
libssh-1102ea4c5551d0aa55e8f4cdd2a82741e8b16aad.tar.xz
libssh-1102ea4c5551d0aa55e8f4cdd2a82741e8b16aad.zip
cleanup: use ssh_ prefix in the kex (non-static) functions
Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/kex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libssh/kex.h b/include/libssh/kex.h
index 1a5b6d41..e872bde1 100644
--- a/include/libssh/kex.h
+++ b/include/libssh/kex.h
@@ -38,10 +38,10 @@ SSH_PACKET_CALLBACK(ssh_packet_publickey1);
int ssh_send_kex(ssh_session session, int server_kex);
void ssh_list_kex(struct ssh_kex_struct *kex);
-int set_client_kex(ssh_session session);
+int ssh_set_client_kex(ssh_session session);
int ssh_kex_select_methods(ssh_session session);
-int verify_existing_algo(int algo, const char *name);
-char **space_tokenize(const char *chain);
+int ssh_verify_existing_algo(int algo, const char *name);
+char **ssh_space_tokenize(const char *chain);
int ssh_get_kex1(ssh_session session);
char *ssh_find_matching(const char *in_d, const char *what_d);
const char *ssh_kex_get_supported_method(uint32_t algo);