|
libsshpp v0.1.7
Modern C++17 wrapper for libssh
|
#include <sshpp/config.hpp>#include <sshpp/detail/invoke.hpp>#include <libssh/libssh.h>#include <libssh/sftp.h>Namespaces | |
| namespace | sshpp |
| namespace | sshpp::detail |
Functions | |
| ErrorInfo | sshpp::detail::make_error_info (native_session session, const char *operation, SourceLocation where, errc fallback=errc::unknown) |
| errc | sshpp::detail::errc_from_auth_result (int auth_result) noexcept |
| Maps a raw SSH_AUTH_* result to sshpp::errc for error paths (success/partial are not errors). | |
| ErrorInfo | sshpp::detail::make_sftp_error_info (native_sftp sftp, native_session session, const char *operation, SourceLocation where) |
| Snapshots sftp_get_error()/ssh_get_error() for an SFTP failure into an ErrorInfo. | |