#include <fcntl.h>
#include <libssh/sftp.h>
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/attributes.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_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 av_cold int libssh_create_ssh_session |
( |
LIBSSHContext * |
libssh, |
|
|
const char * |
hostname, |
|
|
unsigned int |
port |
|
) |
| |
|
static |
static av_cold int libssh_authentication |
( |
LIBSSHContext * |
libssh, |
|
|
const char * |
user, |
|
|
const char * |
password |
|
) |
| |
|
static |
static int64_t libssh_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence |
|
) |
| |
|
static |
static int libssh_read |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
static int libssh_write |
( |
URLContext * |
h, |
|
|
const unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
Initial value:= {
{
"timeout",
"set timeout of socket I/O operations",
OFFSET(rw_timeout),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX,
D|
E },
{NULL}
}
Definition at line 286 of file libssh.c.
Initial value:= {
.class_name = "libssh",
}
Definition at line 293 of file libssh.c.
Initial value:
Definition at line 300 of file libssh.c.