libsshpp v0.1.7
Modern C++17 wrapper for libssh
Loading...
Searching...
No Matches
invoke.ipp File Reference
#include <sshpp/config.hpp>
#include <sshpp/detail/invoke.hpp>
#include <libssh/libssh.h>
#include <libssh/sftp.h>
Include dependency graph for invoke.ipp:

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.