xine-lib 1.2.13-20230125hg15249
|
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/compat.h>
#include <xine/input_plugin.h>
#include <libsmbclient.h>
#include <sys/types.h>
#include <errno.h>
Data Structures | |
struct | smb_input_class_t |
struct | smb_input_t |
Macros | |
#define | MAXFILES 65535 |
#define | S_N 0x0 |
#define | S_I 0x4 |
#define | S_F 0x8 |
#define | S_Z 0xC |
#define | CMP 2 |
#define | LEN 3 |
#define | ISDIGIT(c) ((unsigned) (c) - '0' <= 9) |
Functions | |
static uint32_t | smb_plugin_get_capabilities (input_plugin_t *this_gen) |
static off_t | smb_plugin_read (input_plugin_t *this_gen, void *buf_gen, off_t len) |
static buf_element_t * | smb_plugin_read_block (input_plugin_t *this_gen, fifo_buffer_t *fifo, off_t todo) |
static off_t | smb_plugin_seek (input_plugin_t *this_gen, off_t offset, int origin) |
static off_t | smb_plugin_get_current_pos (input_plugin_t *this_gen) |
static off_t | smb_plugin_get_length (input_plugin_t *this_gen) |
static const char * | smb_plugin_get_mrl (input_plugin_t *this_gen) |
static uint32_t | smb_plugin_get_blocksize (input_plugin_t *this_gen) |
static int | _strverscmp (const char *s1, const char *s2) |
static int | _sortfiles_default (const xine_mrl_t *s1, const xine_mrl_t *s2) |
static xine_mrl_t ** | smb_class_get_dir (input_class_t *this_gen, const char *filename, int *nFiles) |
static int | smb_plugin_get_optional_data (input_plugin_t *this_gen, void *data, int data_type) |
static void | smb_plugin_dispose (input_plugin_t *this_gen) |
static int | smb_plugin_open (input_plugin_t *this_gen) |
static void | smb_class_dispose (input_class_t *this_gen) |
static input_plugin_t * | smb_class_get_instance (input_class_t *class_gen, xine_stream_t *stream, const char *mrl) |
static void | smb_auth (const char *srv, const char *shr, char *wg, int wglen, char *un, int unlen, char *pw, int pwlen) |
static void * | init_input_class (xine_t *xine, const void *data) |
Variables | |
static const input_info_t | input_info_smb |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define CMP 2 |
Referenced by _strverscmp().
#define ISDIGIT | ( | c | ) | ((unsigned) (c) - '0' <= 9) |
Referenced by _strverscmp().
#define LEN 3 |
Referenced by _strverscmp().
#define MAXFILES 65535 |
Referenced by smb_class_get_dir().
#define S_F 0x8 |
Referenced by _strverscmp().
#define S_I 0x4 |
Referenced by _strverscmp().
#define S_N 0x0 |
Referenced by _strverscmp().
#define S_Z 0xC |
Referenced by _strverscmp().
|
static |
References _strverscmp(), and xine_mrl_s::mrl.
Referenced by smb_class_get_dir().
|
static |
|
static |
References input_class_s::description, input_class_s::dispose, input_class_s::eject_media, input_class_s::get_autoplay_list, input_class_s::get_dir, input_class_s::get_instance, input_class_s::identifier, smb_input_class_t::input_class, N_, NULL, smb_auth(), smb_class_dispose(), smb_class_get_dir(), smb_class_get_instance(), xine_s::verbosity, smb_input_class_t::xine, and XINE_VERBOSITY_DEBUG.
|
static |
Referenced by init_input_class().
|
static |
References _x_freep(), MRL_ZERO, smb_input_class_t::mrls, and smb_input_class_t::mrls_allocated_entries.
Referenced by init_input_class().
|
static |
References _sortfiles_default(), _x_asprintf(), _x_freep(), xine_mrl_s::link, MAXFILES, xine_mrl_s::mrl, mrl_file, mrl_file_directory, mrl_file_normal, MRL_ZERO, NULL, xine_mrl_s::origin, xine_mrl_s::size, xine_mrl_s::type, XINE_PATH_MAX, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by init_input_class().
|
static |
References NULL, smb_plugin_dispose(), smb_plugin_get_blocksize(), smb_plugin_get_capabilities(), smb_plugin_get_current_pos(), smb_plugin_get_length(), smb_plugin_get_mrl(), smb_plugin_get_optional_data(), smb_plugin_open(), smb_plugin_read(), smb_plugin_read_block(), and smb_plugin_seek().
Referenced by init_input_class().
|
static |
Referenced by smb_class_get_instance().
|
static |
Referenced by smb_class_get_instance().
|
static |
References INPUT_CAP_SEEKABLE.
Referenced by smb_class_get_instance().
|
static |
Referenced by smb_class_get_instance().
|
static |
Referenced by smb_class_get_instance().
|
static |
Referenced by smb_class_get_instance().
|
static |
References INPUT_OPTIONAL_UNSUPPORTED.
Referenced by smb_class_get_instance().
|
static |
References input_plugin_s::input_class, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by smb_class_get_instance().
|
static |
Referenced by smb_class_get_instance(), and smb_plugin_read_block().
|
static |
|
static |
Referenced by smb_class_get_instance().
const plugin_info_t xine_plugin_info [] EXPORTED |
|
static |