libsshpp v0.1.7
Modern C++17 wrapper for libssh
Loading...
Searching...
No Matches
invoke.hpp File Reference
#include <sshpp/config.hpp>
#include <sshpp/detail/native_fwd.hpp>
#include <sshpp/error.hpp>
Include dependency graph for invoke.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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.