aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-08-09 21:39:32 +0200
committerAndreas Schneider <asn@cynapses.org>2010-08-09 21:39:32 +0200
commita6b6a6177562519808b57084b4290f8db555a594 (patch)
treecfdd615ce8164bc0cf24c44cdb98c5f52971077a /include
parent39c9a6dfed3d55c0e7df2d71c2f7d690f9abae89 (diff)
downloadlibssh-a6b6a6177562519808b57084b4290f8db555a594.tar.gz
libssh-a6b6a6177562519808b57084b4290f8db555a594.tar.xz
libssh-a6b6a6177562519808b57084b4290f8db555a594.zip
server: Make ssh_accept a depreacted function to not break the API.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 716494c6..10791659 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -172,6 +172,9 @@ LIBSSH_API char *ssh_message_channel_request_command(ssh_message msg);
LIBSSH_API char *ssh_message_channel_request_subsystem(ssh_message msg);
+/* deprecated functions */
+SSH_DEPRECATED LIBSSH_API int ssh_accept(ssh_session session);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */