mirror of https://github.com/mpv-player/mpv
Declare functions from network.c in network.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30698 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
638b2af889
commit
c8a6c6385b
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue