summaryrefslogtreecommitdiffstats
path: root/stream/network.h
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-03-17 08:58:49 +0000
committerUoti Urpala <uau@mplayer2.org>2011-04-13 03:17:05 +0300
commitc99d8fc8981d13203c2bbf9c12b7720cd8632ae1 (patch)
tree4eedca60b1f3814f8cd958d8e6ce317e8adfce02 /stream/network.h
parent4b5a86c78e67d0412c65f8d8b0830e8e450cd2ed (diff)
downloadmpv-c99d8fc8981d13203c2bbf9c12b7720cd8632ae1.tar.bz2
mpv-c99d8fc8981d13203c2bbf9c12b7720cd8632ae1.tar.xz
stream: http: Allow setting custom http header
Patch by Nikolay Nikolaev, nicknickolaev yahoo com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33082 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/network.h')
-rw-r--r--stream/network.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/network.h b/stream/network.h
index 1c395acc49..33b668c516 100644
--- a/stream/network.h
+++ b/stream/network.h
@@ -61,6 +61,8 @@ typedef struct {
extern const mime_struct_t mime_type_table[];
+extern char **network_http_header_fields;
+
streaming_ctrl_t *streaming_ctrl_new(void);
int streaming_bufferize( streaming_ctrl_t *streaming_ctrl, char *buffer, int size);