libssh
|
The libssh library is implementing the SSH protocols and some of its extensions. More...
Modules | |
The libssh callbacks | |
Callback which can be replaced in libssh. | |
The SSH authentication functions. | |
Functions to authenticate with a server. | |
The SSH buffer functions. | |
Functions to handle SSH buffers. | |
The SSH channel functions | |
Functions that manage a SSH channel. | |
The SSH error functions. | |
Functions for error handling. | |
The SSH logging functions. | |
Logging functions for debugging and problem resolving. | |
The SSH helper functions. | |
Different helper functions used in the SSH Library. | |
The SSH Public Key Infrastructure | |
Functions for the creation, importation and manipulation of public and private keys in the context of the SSH protocol. | |
The SSH poll functions. | |
Add a generic way to handle sockets asynchronously. | |
The SSH scp functions | |
SCP protocol over SSH functions. | |
The SSH session functions. | |
Functions that manage a session. | |
The SSH string functions | |
String manipulations used in libssh. | |
The SSH threading functions. | |
Threading with libssh. | |
Functions | |
void | libssh_destructor (void) |
Finalize and cleanup all libssh and cryptographic data structures. More... | |
int | ssh_finalize (void) |
Finalize and cleanup all libssh and cryptographic data structures. More... | |
int | ssh_init (void) |
Initialize global cryptographic data structures. More... | |
The libssh library is implementing the SSH protocols and some of its extensions.
This group of functions is mostly used to implement an SSH client. Some function are needed to implement an SSH server too.
void libssh_destructor | ( | void | ) |
Finalize and cleanup all libssh and cryptographic data structures.
This function is automatically called when the library is unloaded.
int ssh_finalize | ( | void | ) |
Finalize and cleanup all libssh and cryptographic data structures.
Since version 0.8.0, it is not necessary to call this function, since it is automatically called when the library is unloaded.
If ssh_init() is called explicitly, then ssh_finalize() must be called explicitly.
When called, decrements the counter _ssh_initialized. If the counter reaches zero, then the libssh and cryptographic data structures are cleaned up.
int ssh_init | ( | void | ) |
Initialize global cryptographic data structures.
Since version 0.8.0, it is not necessary to call this function on systems which are fully supported with regards to threading (that is, system with pthreads available).
If the library is already initialized, increments the _ssh_initialized counter and return the error code cached in _ssh_init_ret.