#include <fcntl.h>
#include <libssh/sftp.h>
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include "internal.h"
#include "url.h"
Go to the source code of this file.
static int libssh_open |
( |
URLContext * |
h, |
|
|
const char * |
url, |
|
|
int |
flags |
|
) |
| |
|
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}
}
static av_always_inline av_const double trunc(double x)
Definition at line 206 of file libssh.c.
Initial value:= {
.class_name = "libssh",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ctx)
Return the context name.
const OptionDef options[]
Definition at line 212 of file libssh.c.
Initial value:= {
.name = "sftp",
}
#define URL_PROTOCOL_FLAG_NETWORK
static int libssh_write(URLContext *h, const unsigned char *buf, int size)
static int libssh_close(URLContext *h)
static const AVClass libssh_context_class
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_open(URLContext *h, const char *url, int flags)
Definition at line 219 of file libssh.c.