#include <fcntl.h>
#include <libssh/sftp.h>
#include "libavutil/avstring.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/attributes.h"
#include "libavformat/avio.h"
#include "avformat.h"
#include "internal.h"
#include "url.h"
Go to the source code of this file.
|
static av_cold int | libssh_create_ssh_session (LIBSSHContext *libssh, const char *hostname, unsigned int port) |
|
static av_cold int | libssh_authentication (LIBSSHContext *libssh, const char *user, const char *password) |
|
static av_cold int | libssh_create_sftp_session (LIBSSHContext *libssh) |
|
static av_cold int | libssh_open_file (LIBSSHContext *libssh, int flags, const char *file) |
|
static av_cold void | libssh_stat_file (LIBSSHContext *libssh) |
|
static av_cold int | libssh_close (URLContext *h) |
|
static av_cold int | libssh_connect (URLContext *h, const char *url, char *path, size_t path_size) |
|
static av_cold int | libssh_open (URLContext *h, const char *url, int flags) |
|
static int64_t | libssh_seek (URLContext *h, int64_t pos, int whence) |
|
static int | libssh_read (URLContext *h, unsigned char *buf, int size) |
|
static int | libssh_write (URLContext *h, const unsigned char *buf, int size) |
|
static int | libssh_open_dir (URLContext *h) |
|
static int | libssh_read_dir (URLContext *h, AVIODirEntry **next) |
|
static int | libssh_close_dir (URLContext *h) |
|
static int | libssh_delete (URLContext *h) |
|
static int | libssh_move (URLContext *h_src, URLContext *h_dst) |
|
◆ LIBSSH_STATIC
◆ OFFSET
◆ libssh_create_ssh_session()
static av_cold int libssh_create_ssh_session |
( |
LIBSSHContext * |
libssh, |
|
|
const char * |
hostname, |
|
|
unsigned int |
port |
|
) |
| |
|
static |
◆ libssh_authentication()
static av_cold int libssh_authentication |
( |
LIBSSHContext * |
libssh, |
|
|
const char * |
user, |
|
|
const char * |
password |
|
) |
| |
|
static |
◆ libssh_create_sftp_session()
◆ libssh_open_file()
◆ libssh_stat_file()
◆ libssh_close()
◆ libssh_connect()
static av_cold int libssh_connect |
( |
URLContext * |
h, |
|
|
const char * |
url, |
|
|
char * |
path, |
|
|
size_t |
path_size |
|
) |
| |
|
static |
◆ libssh_open()
◆ libssh_seek()
◆ libssh_read()
static int libssh_read |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ libssh_write()
static int libssh_write |
( |
URLContext * |
h, |
|
|
const unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ libssh_open_dir()
◆ libssh_read_dir()
◆ libssh_close_dir()
◆ libssh_delete()
◆ libssh_move()
◆ options
Initial value:= {
{
"timeout",
"set timeout of socket I/O operations",
OFFSET(rw_timeout),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX,
D|
E },
}
Definition at line 476 of file libssh.c.
◆ libssh_context_class
Initial value:= {
.class_name = "libssh",
}
Definition at line 483 of file libssh.c.
◆ ff_libssh_protocol
Initial value:
Definition at line 490 of file libssh.c.