]> git.sesse.net Git - vlc/blobdiff - modules/access/mms/mmsh.h
Fix warning
[vlc] / modules / access / mms / mmsh.h
index 0c05707bf9ef47831bc2e7534318c4ca50704162..dc29b4e53ff87ebe8c7c0a7e3f69f71ee84a2b90 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * mmsh.h:
  *****************************************************************************
- * Copyright (C) 2001, 2002 VideoLAN
- * $Id: mmsh.h,v 1.5 2004/01/21 16:56:16 fenrir Exp $
+ * Copyright (C) 2001, 2002 the VideoLAN team
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 typedef struct
@@ -36,18 +36,16 @@ typedef struct
 
 } chunk_t;
 
-#define BUFFER_SIZE 150000
+#define BUFFER_SIZE 65536
 struct access_sys_t
 {
     int             i_proto;
 
     int             fd;
-    url_t           *p_url;
+    vlc_url_t       url;
 
     int             i_request_context;
 
-    int             i_buffer;
-    int             i_buffer_pos;
     uint8_t         buffer[BUFFER_SIZE + 1];
 
     vlc_bool_t      b_broadcast;
@@ -60,32 +58,8 @@ struct access_sys_t
     unsigned int    i_packet_used;
     unsigned int    i_packet_length;
 
-    off_t           i_pos;
+    int64_t         i_start;
 
     asf_header_t    asfh;
     guid_t          guid;
 };
-
-typedef struct http_field_s
-{
-    char *psz_name;
-    char *psz_value;
-
-    struct http_field_s *p_next;
-
-} http_field_t;
-
-typedef struct
-{
-    int     i_version;
-    int     i_error;
-    char    *psz_answer;
-
-    http_field_t *p_fields;
-
-    uint8_t *p_body;
-    int     i_body;
-
-} http_answer_t;
-
-