xine-lib 1.2.13-20230125hg15249
mms.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2009 the xine project
3 *
4 * This file is part of xine, a free video player.
5 *
6 * xine is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * xine is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 *
20 * libmms public header
21 */
22
23#ifndef HAVE_MMS_H
24#define HAVE_MMS_H
25
26#include <inttypes.h>
27#include <xine/xine_internal.h>
28
29typedef struct mms_s mms_t;
30
31char* mms_connect_common(int *s ,int *port, char *url, char **host, char **path, char **file);
32mms_t* mms_connect (xine_stream_t *stream, const char *url_, int bandwidth);
33
34int mms_read (mms_t *this, char *data, int len);
35uint32_t mms_get_length (mms_t *this);
36void mms_close (mms_t *this);
37
38size_t mms_peek_header (mms_t *this, char *data, size_t maxsize);
39
40off_t mms_get_current_pos (mms_t *this);
41
42void mms_set_start_time (mms_t *this, int time_offset);
43
44#endif
45
char * mms_connect_common(int *s, int *port, char *url, char **host, char **path, char **file)
int mms_read(mms_t *this, char *data, int len)
Definition mms.c:1053
void mms_set_start_time(mms_t *this, int time_offset)
Definition mms.c:1149
mms_t * mms_connect(xine_stream_t *stream, const char *url_, int bandwidth)
Definition mms.c:662
size_t mms_peek_header(mms_t *this, char *data, size_t maxsize)
Definition mms.c:1043
off_t mms_get_current_pos(mms_t *this)
Definition mms.c:1145
uint32_t mms_get_length(mms_t *this)
Definition mms.c:1141
void mms_close(mms_t *this)
Definition mms.c:1129
Definition mms.c:104
int bandwidth
Definition mms.c:130
xine_url_t url
Definition mms.c:111
xine_stream_t * stream
Definition mms.c:106
int s
Definition mms.c:108
Definition xine_internal.h:123