xine-lib  1.2.9
real.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  * special functions for real streams.
21  * adopted from joschkas real tools.
22  */
23 
24 #ifndef HAVE_REAL_H
25 #define HAVE_REAL_H
26 
27 #include "rmff.h"
28 #include "rtsp.h"
29 
30 #ifdef __CYGWIN__
31 #define uint32_t unsigned int
32 #define uint16_t unsigned short int
33 #define uint8_t unsigned char
34 #endif
35 
36 /*
37  * calculates response and checksum of a given challenge
38  * (RealChallenge1 in rtsp). See implementation for details.
39  */
40 void real_calc_response_and_checksum (char *response, char *chksum, char *challenge);
41 int real_get_rdt_chunk(rtsp_t *rtsp_session, unsigned char **buffer);
42 rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidth);
43 rmff_header_t *real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwidth);
44 
45 #endif
46 
rmff_header_t * real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwidth)
Definition: real.c:607
void real_calc_response_and_checksum(char *response, char *chksum, char *challenge)
Definition: real.c:315
int real_get_rdt_chunk(rtsp_t *rtsp_session, unsigned char **buffer)
Definition: real.c:536
Definition: rtsp.c:65
Definition: rmff.h:163
rmff_header_t * real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidth)
Definition: real.c:432