diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-08-09 21:39:32 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-08-09 21:39:32 +0200 |
commit | a6b6a6177562519808b57084b4290f8db555a594 (patch) | |
tree | cfdd615ce8164bc0cf24c44cdb98c5f52971077a /include | |
parent | 39c9a6dfed3d55c0e7df2d71c2f7d690f9abae89 (diff) | |
download | libssh-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.h | 3 |
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 */ |