summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 13:50:48 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 13:50:48 +0000
commitc8a6c6385b908dd22e53f3cd403cdab0400a3d2c (patch)
tree733b20f3fdb550cc55333602bee6cc6fc000bd3b /stream
parent638b2af889d6cafca224d0914499ff78ebe71358 (diff)
downloadmpv-c8a6c6385b908dd22e53f3cd403cdab0400a3d2c.tar.bz2
mpv-c8a6c6385b908dd22e53f3cd403cdab0400a3d2c.tar.xz
Declare functions from network.c in network.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30698 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/http.c2
-rw-r--r--stream/network.h3
-rw-r--r--stream/stream.h1
3 files changed, 3 insertions, 3 deletions
diff --git a/stream/http.c b/stream/http.c
index f4ce03e038..bda6c060c7 100644
--- a/stream/http.c
+++ b/stream/http.c
@@ -47,8 +47,6 @@ extern const mime_struct_t mime_type_table[];
extern int stream_cache_size;
extern int network_bandwidth;
-int http_seek(stream_t *stream, off_t pos);
-
typedef struct {
unsigned metaint;
unsigned metapos;
diff --git a/stream/network.h b/stream/network.h
index b4e24525da..b842b1ed24 100644
--- a/stream/network.h
+++ b/stream/network.h
@@ -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 */
diff --git a/stream/stream.h b/stream/stream.h
index 2656ed51bb..fa12186696 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -175,7 +175,6 @@ int cache_stream_seek_long(stream_t *s,off_t pos);
#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){