The libssh C++ wrapper

The C++ bindings for libssh are completely embedded in a single .hpp file, and this for two reasons:

More...


Detailed Description

The C++ bindings for libssh are completely embedded in a single .hpp file, and this for two reasons:

We try to keep libssh C version as much as possible binary compatible between releases, while this would be hard for C++. If you compile your program with these headers, you will only link to the C version of libssh which will be kept ABI compatible. No need to recompile your C++ program each time a new binary-compatible version of libssh is out

Please visit the documentation of ssh::Session and ssh::Channel

See also:
ssh::Session
ssh::Channel

If you wish not to use C++ exceptions, please define SSH_NO_CPP_EXCEPTIONS:

 #define SSH_NO_CPP_EXCEPTIONS
 #include <libssh/libsshpp.hpp>

All functions will then return SSH_ERROR in case of error.


Generated on 2 Jul 2014 for libssh by  doxygen 1.6.1