aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-14 12:44:32 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-14 12:44:32 +0200
commitc28efb8cbc2be66ab3e10258b5037f6a8f6ab13f (patch)
tree28a96eedbdd0ad3b8e8dc90e5246c2ecb8ee26e3
parentebdd0c6ac195971178db8d5515c77d737d01b5fe (diff)
downloadlibssh-c28efb8cbc2be66ab3e10258b5037f6a8f6ab13f.tar.gz
libssh-c28efb8cbc2be66ab3e10258b5037f6a8f6ab13f.tar.xz
libssh-c28efb8cbc2be66ab3e10258b5037f6a8f6ab13f.zip
include: Mark ssh_log as depcrecated.
-rw-r--r--include/libssh/libssh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index ce21ca46..f2b587a6 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -425,9 +425,9 @@ LIBSSH_API void *ssh_get_log_userdata(void);
LIBSSH_API int ssh_set_log_userdata(void *data);
/* legacy */
-LIBSSH_API void ssh_log(ssh_session session,
- int prioriry,
- const char *format, ...) PRINTF_ATTRIBUTE(3, 4);
+SSH_DEPRECATED LIBSSH_API void ssh_log(ssh_session session,
+ int prioriry,
+ const char *format, ...) PRINTF_ATTRIBUTE(3, 4);
LIBSSH_API ssh_channel ssh_message_channel_request_open_reply_accept(ssh_message msg);
LIBSSH_API int ssh_message_channel_request_reply_success(ssh_message msg);