[MPlayer-cvslog] r30698 - in trunk/stream: http.c network.h stream.h

diego subversion at mplayerhq.hu
Mon Feb 22 14:50:48 CET 2010


Author: diego
Date: Mon Feb 22 14:50:48 2010
New Revision: 30698

Log:
Declare functions from network.c in network.h.

Modified:
   trunk/stream/http.c
   trunk/stream/network.h
   trunk/stream/stream.h

Modified: trunk/stream/http.c
==============================================================================
--- trunk/stream/http.c	Mon Feb 22 14:27:58 2010	(r30697)
+++ trunk/stream/http.c	Mon Feb 22 14:50:48 2010	(r30698)
@@ -47,8 +47,6 @@ extern const mime_struct_t mime_type_tab
 extern int stream_cache_size;
 extern int network_bandwidth;
 
-int http_seek(stream_t *stream, off_t pos);
-
 typedef struct {
   unsigned metaint;
   unsigned metapos;

Modified: trunk/stream/network.h
==============================================================================
--- trunk/stream/network.h	Mon Feb 22 14:27:58 2010	(r30697)
+++ trunk/stream/network.h	Mon Feb 22 14:50:48 2010	(r30698)
@@ -66,4 +66,7 @@ HTTP_header_t *http_read_response(int fd
 int http_authenticate(HTTP_header_t *http_hdr, URL_t *url, int *auth_retry);
 URL_t* check4proxies(URL_t *url);
 
+void fixup_network_stream_cache(stream_t *stream);
+int http_seek(stream_t *stream, off_t pos);
+
 #endif /* MPLAYER_NETWORK_H */

Modified: trunk/stream/stream.h
==============================================================================
--- trunk/stream/stream.h	Mon Feb 22 14:27:58 2010	(r30697)
+++ trunk/stream/stream.h	Mon Feb 22 14:50:48 2010	(r30698)
@@ -175,7 +175,6 @@ int cache_stream_seek_long(stream_t *s,o
 #define cache_stream_seek_long(x,y) stream_seek_long(x,y)
 #define stream_enable_cache(x,y,z,w) 1
 #endif
-void fixup_network_stream_cache(stream_t *stream);
 int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
 
 inline static int stream_read_char(stream_t *s){


More information about the MPlayer-cvslog mailing list