#include <libsmbclient.h>
#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/error.h"
#include "libavutil/mem.h"
#include "libavutil/opt.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()
◆ libsmbc_read()
| static int libsmbc_read |
( |
URLContext * | h, |
|
|
unsigned char * | buf, |
|
|
int | size ) |
|
static |
◆ 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 __device__ float trunc(float a)
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
Definition at line 355 of file libsmbclient.c.
◆ libsmbclient_context_class
| const AVClass libsmbclient_context_class |
|
static |
Initial value:= {
.class_name = "libsmbc",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 362 of file libsmbclient.c.
◆ ff_libsmbclient_protocol
Initial value:= {
.name = "smb",
}
#define flags(name, subs,...)
static int libsmbc_read(URLContext *h, unsigned char *buf, int size)
static int libsmbc_move(URLContext *h_src, URLContext *h_dst)
static av_cold int libsmbc_close(URLContext *h)
static av_cold int libsmbc_open(URLContext *h, const char *url, int flags)
static int libsmbc_delete(URLContext *h)
static int64_t libsmbc_seek(URLContext *h, int64_t pos, int whence)
static int libsmbc_open_dir(URLContext *h)
static int libsmbc_write(URLContext *h, const unsigned char *buf, int size)
static const AVClass libsmbclient_context_class
static int libsmbc_close_dir(URLContext *h)
static int libsmbc_read_dir(URLContext *h, AVIODirEntry **next)
#define URL_PROTOCOL_FLAG_NETWORK
Definition at line 369 of file libsmbclient.c.