|
xine-lib
1.2.9
|
#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <fcntl.h>#include <string.h>#include <errno.h>#include <sys/time.h>#include <xine/xine_internal.h>#include <xine/xineutils.h>#include <xine/input_plugin.h>#include "net_buf_ctrl.h"#include "group_network.h"Data Structures | |
| struct | net_input_plugin_t |
| struct | net_input_class_t |
Macros | |
| #define | LOG_MODULE "input_net" |
| #define | LOG_VERBOSE |
| #define | NET_BS_LEN 2324 |
| #define | BUFSIZE 1024 |
| #define | LOW_WATER_MARK 50 |
| #define | HIGH_WATER_MARK 100 |
Functions | |
| static int | host_connect_attempt_ipv4 (struct in_addr ia, int port, xine_t *xine) |
| static int | host_connect_ipv4 (const char *host, int port, xine_t *xine) |
| static int | host_connect (const char *host, int port, xine_t *xine) |
| static off_t | net_plugin_read (input_plugin_t *this_gen, void *buf_gen, off_t len) |
| static buf_element_t * | net_plugin_read_block (input_plugin_t *this_gen, fifo_buffer_t *fifo, off_t todo) |
| static off_t | net_plugin_get_length (input_plugin_t *this_gen) |
| static uint32_t | net_plugin_get_capabilities (input_plugin_t *this_gen) |
| static uint32_t | net_plugin_get_blocksize (input_plugin_t *this_gen) |
| static off_t | net_plugin_get_current_pos (input_plugin_t *this_gen) |
| static off_t | net_plugin_seek (input_plugin_t *this_gen, off_t offset, int origin) |
| static const char * | net_plugin_get_mrl (input_plugin_t *this_gen) |
| static int | net_plugin_get_optional_data (input_plugin_t *this_gen, void *data, int data_type) |
| static void | net_plugin_dispose (input_plugin_t *this_gen) |
| static int | net_plugin_open (input_plugin_t *this_gen) |
| static input_plugin_t * | net_class_get_instance (input_class_t *cls_gen, xine_stream_t *stream, const char *mrl) |
| void * | input_net_init_class (xine_t *xine, void *data) |
| #define BUFSIZE 1024 |
Referenced by net_plugin_seek().
| #define HIGH_WATER_MARK 100 |
| #define LOG_MODULE "input_net" |
| #define LOG_VERBOSE |
| #define LOW_WATER_MARK 50 |
| #define NET_BS_LEN 2324 |
Referenced by net_plugin_get_blocksize().
|
static |
References _, host_connect_attempt(), host_connect_ipv4(), lprintf, xine_log(), and XINE_LOG_MSG.
Referenced by net_plugin_open().
|
static |
References _, xine_log(), XINE_LOG_MSG, and xine_socket_cloexec().
Referenced by host_connect_ipv4().
|
static |
References _, host_connect_attempt_ipv4(), NULL, xine_log(), and XINE_LOG_MSG.
Referenced by host_connect().
| void* input_net_init_class | ( | xine_t * | xine, |
| void * | data | ||
| ) |
References xine_s::config, default_input_class_dispose, N_, net_class_get_instance(), and NULL.
|
static |
References nbc_init(), net_plugin_dispose(), net_plugin_get_blocksize(), net_plugin_get_capabilities(), net_plugin_get_current_pos(), net_plugin_get_length(), net_plugin_get_mrl(), net_plugin_get_optional_data(), net_plugin_open(), net_plugin_read(), net_plugin_read_block(), net_plugin_seek(), and NULL.
Referenced by input_net_init_class().
|
static |
References nbc_close(), and NULL.
Referenced by net_class_get_instance().
|
static |
References NET_BS_LEN.
Referenced by net_class_get_instance().
|
static |
References INPUT_CAP_PREVIEW.
Referenced by net_class_get_instance().
|
static |
Referenced by net_class_get_instance().
|
static |
Referenced by net_class_get_instance().
|
static |
Referenced by net_class_get_instance().
|
static |
References INPUT_OPTIONAL_DATA_PREVIEW, and INPUT_OPTIONAL_UNSUPPORTED.
Referenced by net_class_get_instance().
|
static |
References host_connect(), and MAX_PREVIEW_SIZE.
Referenced by net_class_get_instance().
|
static |
References _x_message(), _x_read_abort(), lprintf, NULL, XINE_MSG_READ_ERROR, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by net_class_get_instance(), and net_plugin_read_block().
|
static |
|
static |
References BUFSIZE, input_plugin_s::read, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by net_class_get_instance().
1.8.14