xine-lib  1.2.9
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 
29 typedef struct mms_s mms_t;
30 
31 char* mms_connect_common(int *s ,int *port, char *url, char **host, char **path, char **file);
32 mms_t* mms_connect (xine_stream_t *stream, const char *url_, int bandwidth);
33 
34 int mms_read (mms_t *this, char *data, int len);
35 uint32_t mms_get_length (mms_t *this);
36 void mms_close (mms_t *this);
37 
38 size_t mms_peek_header (mms_t *this, char *data, size_t maxsize);
39 
40 off_t mms_get_current_pos (mms_t *this);
41 
42 void mms_set_start_time (mms_t *this, int time_offset);
43 
44 #endif
45 
int port
Definition: mms.c:123
int bandwidth
Definition: mms.c:145
off_t mms_get_current_pos(mms_t *this)
Definition: mms.c:1178
int mms_read(mms_t *this, char *data, int len)
Definition: mms.c:1077
xine_stream_t * stream
Definition: mms.c:115
char * mms_connect_common(int *s, int *port, char *url, char **host, char **path, char **file)
int s
Definition: mms.c:117
uint32_t mms_get_length(mms_t *this)
Definition: mms.c:1174
Definition: xine_internal.h:210
mms_t * mms_connect(xine_stream_t *stream, const char *url_, int bandwidth)
Definition: mms.c:676
char * url
Definition: mms.c:120
void mms_set_start_time(mms_t *this, int time_offset)
Definition: mms.c:1182
Definition: mms.c:113
void mms_close(mms_t *this)
Definition: mms.c:1153
char * host
Definition: mms.c:122
size_t mms_peek_header(mms_t *this, char *data, size_t maxsize)
Definition: mms.c:1067