#include <libssh2.h>
#include <libssh2_sftp.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <ctype.h>
#include <time.h>
#include "service.h"
Go to the source code of this file.
|
ZOO_DLL_EXPORT SSHCON * | ssh_connect (maps *) |
| Connect to a remote host using SSH protocol. More...
|
|
ZOO_DLL_EXPORT bool | ssh_copy (maps *, const char *, const char *, int) |
| Upload a file over an opened SSH connection. More...
|
|
ZOO_DLL_EXPORT int | ssh_get_cnt (maps *) |
| Get the number of opened SSH connections. More...
|
|
ZOO_DLL_EXPORT int | ssh_fetch (maps *, const char *, const char *, int) |
| Download a file over an opened SSH connection. More...
|
|
ZOO_DLL_EXPORT int | ssh_exec (maps *, const char *, int) |
| Execute a command over an opened SSH connection. More...
|
|
ZOO_DLL_EXPORT bool | ssh_close_session (maps *, SSHCON *) |
| Close an opened SSH connection. More...
|
|
ZOO_DLL_EXPORT bool | ssh_close (maps *) |
| Close all the opened SSH connections. More...
|
|
ZOO_DLL_EXPORT bool | addToUploadQueue (maps **, maps *) |
|
ZOO_DLL_EXPORT bool | runUpload (maps **) |
|