xine-lib: xine-lib-1.2.13/src/input/mmsh.h File Reference

xine-lib 1.2.13-20230125hg15249

Typedefs | Functions
mmsh.h File Reference
`#include <inttypes.h>`
`#include <xine/xine_internal.h>`

Go to the source code of this file.

## Typedefs
typedef struct mmsh_s | mmsh_t

## Functions
char * | mmsh_connect_common (int *s, int *port, char *url, char **host, char **path, char **file)
mmsh_t * | mmsh_connect (xine_stream_t *stream, const char *url_, int bandwidth)
int | mmsh_read (mmsh_t *this, char *data, int len)
uint32_t | mmsh_get_length (mmsh_t *this)
void | mmsh_close (mmsh_t *this)
size_t | mmsh_peek_header (mmsh_t *this, char *data, size_t maxsize)
off_t | mmsh_get_current_pos (mmsh_t *this)
void | mmsh_set_start_time (mmsh_t *this, int time_offset)

## Typedef Documentation

## ◆ mmsh_t

typedef struct mmsh_s mmsh_t

## Function Documentation

## ◆ mmsh_close()

void mmsh_close | ( | mmsh_t * | this | ) |

References _x_io_tcp_close(), _x_url_cleanup(), asf_header_delete(), and lprintf.

Referenced by mms_plugin_dispose().

## ◆ mmsh_connect()

mmsh_t * mmsh_connect | ( | xine_stream_t * | stream,
|  | const char * | url_,
|  | int | bandwidth )

References _, _x_io_tcp_close(), _x_url_cleanup(), _x_url_parse2(), lprintf, mmsh_connect_int(), mmsh_tcp_connect(), mmsh_valid_proto(), NULL, report_progress(), xine_stream_s::xine, xine_log(), and XINE_LOG_MSG.

Referenced by mms_plugin_open().

## ◆ mmsh_connect_common()

char * mmsh_connect_common | ( | int * | s,
|  | int * | port,
|  | char * | url,
|  | char ** | host,
|  | char ** | path,
|  | char ** | file )

## ◆ mmsh_get_current_pos()

off_t mmsh_get_current_pos | ( | mmsh_t * | this | ) |

Referenced by mms_plugin_get_current_pos(), mms_plugin_seek(), and mms_plugin_seek_time().

## ◆ mmsh_get_length()

uint32_t mmsh_get_length | ( | mmsh_t * | this | ) |

Referenced by mms_plugin_get_length().

## ◆ mmsh_peek_header()

size_t mmsh_peek_header | ( | mmsh_t * | this,
|  | char * | data,
|  | size_t | maxsize )

References lprintf.

Referenced by mms_plugin_get_optional_data().

## ◆ mmsh_read()

int mmsh_read | ( | mmsh_t * | this,
|  | char * | data,
|  | int | len )

References get_media_packet(), lprintf, mmsh_connect_int2(), xine_fast_memcpy, XINE_VERBOSITY_LOG, and xprintf.

Referenced by mms_plugin_read().

## ◆ mmsh_set_start_time()

void mmsh_set_start_time | ( | mmsh_t * | this,
|  | int | time_offset )

Referenced by mms_plugin_seek_time().