#include <libsmbclient.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 void | libsmbc_get_auth_data (SMBCCTX *c, const char *server, const char *share, char *workgroup, int workgroup_len, char *username, int username_len, char *password, int password_len) |
|
static av_cold int | libsmbc_connect (URLContext *h) |
|
static av_cold int | libsmbc_close (URLContext *h) |
|
static av_cold int | libsmbc_open (URLContext *h, const char *url, int flags) |
|
static int64_t | libsmbc_seek (URLContext *h, int64_t pos, int whence) |
|
static int | libsmbc_read (URLContext *h, unsigned char *buf, int size) |
|
static int | libsmbc_write (URLContext *h, const unsigned char *buf, int size) |
|
static int | libsmbc_open_dir (URLContext *h) |
|
static int | libsmbc_read_dir (URLContext *h, AVIODirEntry **next) |
|
static int | libsmbc_close_dir (URLContext *h) |
|
static int | libsmbc_delete (URLContext *h) |
|
static int | libsmbc_move (URLContext *h_src, URLContext *h_dst) |
|
static void libsmbc_get_auth_data |
( |
SMBCCTX * |
c, |
|
|
const char * |
server, |
|
|
const char * |
share, |
|
|
char * |
workgroup, |
|
|
int |
workgroup_len, |
|
|
char * |
username, |
|
|
int |
username_len, |
|
|
char * |
password, |
|
|
int |
password_len |
|
) |
| |
|
static |
static int64_t libsmbc_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence |
|
) |
| |
|
static |
static int libsmbc_write |
( |
URLContext * |
h, |
|
|
const unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
Initial value:= {
{
"timeout",
"set timeout in ms of socket I/O operations",
OFFSET(timeout),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX,
D|
E },
}
static av_always_inline av_const double trunc(double x)
Definition at line 354 of file libsmbclient.c.
const AVClass libsmbclient_context_class |
|
static |
Initial value:= {
.class_name = "libsmbc",
}
static const AVOption options[]
#define LIBAVUTIL_VERSION_INT
Definition at line 361 of file libsmbclient.c.
Initial value:= {
.name = "smb",
}
#define URL_PROTOCOL_FLAG_NETWORK
static int libsmbc_move(URLContext *h_src, URLContext *h_dst)
static av_cold int libsmbc_close(URLContext *h)
static int64_t libsmbc_seek(URLContext *h, int64_t pos, int whence)
static int libsmbc_close_dir(URLContext *h)
static int libsmbc_write(URLContext *h, const unsigned char *buf, int size)
static int libsmbc_read_dir(URLContext *h, AVIODirEntry **next)
static int libsmbc_read(URLContext *h, unsigned char *buf, int size)
static int libsmbc_open_dir(URLContext *h)
static int libsmbc_delete(URLContext *h)
static const AVClass libsmbclient_context_class
static av_cold int libsmbc_open(URLContext *h, const char *url, int flags)
Definition at line 368 of file libsmbclient.c.