#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) |
|
◆ OFFSET
◆ libsmbc_get_auth_data()
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 |
◆ libsmbc_connect()
◆ libsmbc_close()
◆ libsmbc_open()
◆ libsmbc_seek()
static int64_t libsmbc_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence |
|
) |
| |
|
static |
◆ libsmbc_read()
◆ libsmbc_write()
static int libsmbc_write |
( |
URLContext * |
h, |
|
|
const unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ libsmbc_open_dir()
◆ libsmbc_read_dir()
◆ libsmbc_close_dir()
◆ libsmbc_delete()
◆ libsmbc_move()
◆ options
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.
◆ libsmbclient_context_class
const AVClass libsmbclient_context_class |
|
static |
Initial value:= {
.class_name = "libsmbc",
}
static const AVOption options[]
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
Definition at line 361 of file libsmbclient.c.
◆ ff_libsmbclient_protocol
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.