diff options
author | DavidWed <davidwe@posteo.de> | 2016-11-23 13:22:23 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-09-11 16:34:11 +0200 |
commit | 164cee66ee0e60b53b331323a62a0bbe0060060b (patch) | |
tree | 8363e3883586d4a56b076905f421b18c24a4e7b1 /include/libssh/sftp.h | |
parent | 9003f92e8f3df333a033a345203a9f7a88917bdd (diff) | |
download | libssh-164cee66ee0e60b53b331323a62a0bbe0060060b.tar.gz libssh-164cee66ee0e60b53b331323a62a0bbe0060060b.tar.xz libssh-164cee66ee0e60b53b331323a62a0bbe0060060b.zip |
sftp-server: Fix LIBSSH_API
Fixes T44
Signed-off-by: DavidWedderwille <davidwe@posteo.de>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/sftp.h')
-rw-r--r-- | include/libssh/sftp.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h index 63673ca3..8f385854 100644 --- a/include/libssh/sftp.h +++ b/include/libssh/sftp.h @@ -863,18 +863,18 @@ LIBSSH_API void sftp_client_message_set_filename(sftp_client_message msg, const LIBSSH_API const char *sftp_client_message_get_data(sftp_client_message msg); LIBSSH_API uint32_t sftp_client_message_get_flags(sftp_client_message msg); LIBSSH_API int sftp_send_client_message(sftp_session sftp, sftp_client_message msg); -int sftp_reply_name(sftp_client_message msg, const char *name, +LIBSSH_API int sftp_reply_name(sftp_client_message msg, const char *name, sftp_attributes attr); -int sftp_reply_handle(sftp_client_message msg, ssh_string handle); -ssh_string sftp_handle_alloc(sftp_session sftp, void *info); -int sftp_reply_attr(sftp_client_message msg, sftp_attributes attr); -void *sftp_handle(sftp_session sftp, ssh_string handle); -int sftp_reply_status(sftp_client_message msg, uint32_t status, const char *message); -int sftp_reply_names_add(sftp_client_message msg, const char *file, +LIBSSH_API int sftp_reply_handle(sftp_client_message msg, ssh_string handle); +LIBSSH_API ssh_string sftp_handle_alloc(sftp_session sftp, void *info); +LIBSSH_API int sftp_reply_attr(sftp_client_message msg, sftp_attributes attr); +LIBSSH_API void *sftp_handle(sftp_session sftp, ssh_string handle); +LIBSSH_API int sftp_reply_status(sftp_client_message msg, uint32_t status, const char *message); +LIBSSH_API int sftp_reply_names_add(sftp_client_message msg, const char *file, const char *longname, sftp_attributes attr); -int sftp_reply_names(sftp_client_message msg); -int sftp_reply_data(sftp_client_message msg, const void *data, int len); -void sftp_handle_remove(sftp_session sftp, void *handle); +LIBSSH_API int sftp_reply_names(sftp_client_message msg); +LIBSSH_API int sftp_reply_data(sftp_client_message msg, const void *data, int len); +LIBSSH_API void sftp_handle_remove(sftp_session sftp, void *handle); /* SFTP commands and constants */ #define SSH_FXP_INIT 1 |