Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

mmsh.h

00001 /*****************************************************************************
00002  * mmsh.h:
00003  *****************************************************************************
00004  * Copyright (C) 2001, 2002 the VideoLAN team
00005  * $Id: mmsh.h 11664 2005-07-09 06:17:09Z courmisch $
00006  *
00007  * Authors: Laurent Aimar <[email protected]>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
00022  *****************************************************************************/
00023 
00024 typedef struct
00025 {
00026     uint16_t i_type;
00027     uint16_t i_size;
00028 
00029     uint32_t i_sequence;
00030     uint16_t i_unknown;
00031 
00032     uint16_t i_size2;
00033 
00034     int      i_data;
00035     uint8_t  *p_data;
00036 
00037 } chunk_t;
00038 
00039 #define BUFFER_SIZE 65536
00040 struct access_sys_t
00041 {
00042     int             i_proto;
00043 
00044     int             fd;
00045     vlc_url_t       url;
00046 
00047     int             i_request_context;
00048 
00049     uint8_t         buffer[BUFFER_SIZE + 1];
00050 
00051     vlc_bool_t      b_broadcast;
00052 
00053     uint8_t         *p_header;
00054     int             i_header;
00055 
00056     uint8_t         *p_packet;
00057     uint32_t        i_packet_sequence;
00058     unsigned int    i_packet_used;
00059     unsigned int    i_packet_length;
00060 
00061     int64_t         i_start;
00062 
00063     asf_header_t    asfh;
00064     guid_t          guid;
00065 };

Generated on Tue Dec 20 10:14:26 2005 for vlc-0.8.4a by  doxygen 1.4.2