xine-lib: xine-lib-1.2.13/src/input/librtsp/rtsp_session.h Source File

xine-lib 1.2.13-20230125hg15249

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
26 typedef struct rtsp_session_s rtsp_session_t;
27
28 rtsp_session_t *rtsp_session_start(xine_stream_t *stream, const char *mrl) XINE_MALLOC;
29
30void rtsp_session_set_start_time(rtsp_session_t *this, int start_time);
31
32int rtsp_session_read(rtsp_session_t *session, char *data, int len);
33
34int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize);
35
36void rtsp_session_end(rtsp_session_t *session);
37
38#endif
XINE_MALLOC
#define XINE_MALLOC
Definition attributes.h:141
rtsp_session_start
rtsp_session_t * rtsp_session_start(xine_stream_t *stream, const char *mrl)
Definition rtsp_session.c:90
rtsp_session_set_start_time
void rtsp_session_set_start_time(rtsp_session_t *this, int start_time)
Definition rtsp_session.c:184
rtsp_session_peek_header
int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize)
Definition rtsp_session.c:249
rtsp_session_end
void rtsp_session_end(rtsp_session_t *session)
Definition rtsp_session.c:259
rtsp_session_read
int rtsp_session_read(rtsp_session_t *session, char *data, int len)
Definition rtsp_session.c:201
rtsp_session_s
Definition rtsp_session.c:60
rtsp_session_s::start_time
int start_time
Definition rtsp_session.c:75
xine_stream_s
Definition xine_internal.h:123