xine-lib  1.2.9
rtsp_session.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000-2017 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  * high level interface to rtsp servers.
21  */
22 
23 #ifndef HAVE_RTSP_SESSION_H
24 #define HAVE_RTSP_SESSION_H
25 
27 
29 
31 
32 int rtsp_session_read(rtsp_session_t *session, char *data, int len);
33 
34 int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize);
35 
36 void rtsp_session_end(rtsp_session_t *session);
37 
38 #endif
Definition: rtsp_session.c:59
#define XINE_MALLOC
Definition: attributes.h:119
void rtsp_session_set_start_time(rtsp_session_t *this, int start_time)
Definition: rtsp_session.c:180
int rtsp_session_read(rtsp_session_t *session, char *data, int len)
Definition: rtsp_session.c:197
Definition: xine_internal.h:210
rtsp_session_t * rtsp_session_start(xine_stream_t *stream, const char *mrl)
Definition: rtsp_session.c:89
int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize)
Definition: rtsp_session.c:245
void rtsp_session_end(rtsp_session_t *session)
Definition: rtsp_session.c:255
int start_time
Definition: rtsp_session.c:74