add_savefile: remove callback parameter
[vlc/asuraparaju-public.git] / modules / access / mms / mmsh.h
bloba49fda8c54fc64666a82cbf95e1f9f17cd41432d
1 /*****************************************************************************
2 * mmsh.h:
3 *****************************************************************************
4 * Copyright (C) 2001, 2002 the VideoLAN team
5 * $Id$
7 * Authors: Laurent Aimar <fenrir@via.ecp.fr>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifndef _MMSH_H_
25 #define _MMSH_H_ 1
27 typedef struct
29 uint16_t i_type;
30 uint16_t i_size;
32 uint32_t i_sequence;
33 uint16_t i_unknown;
35 uint16_t i_size2;
37 int i_data;
38 uint8_t *p_data;
40 } chunk_t;
42 #define BUFFER_SIZE 65536
43 struct access_sys_t
45 int i_proto;
47 int fd;
48 vlc_url_t url;
50 bool b_proxy;
51 vlc_url_t proxy;
53 int i_request_context;
55 uint8_t buffer[BUFFER_SIZE + 1];
57 bool b_broadcast;
59 uint8_t *p_header;
60 int i_header;
62 uint8_t *p_packet;
63 uint32_t i_packet_sequence;
64 unsigned int i_packet_used;
65 unsigned int i_packet_length;
67 uint64_t i_start;
69 asf_header_t asfh;
70 guid_t guid;
73 #endif