Mercurial > mplayer.hg
comparison cfg-common-opts.h @ 31222:d739cbeb0e38
Add a referrer option to set the HTTP Referer field.
Patch by chocolateboy [chocolate cpan org]
author | reimar |
---|---|
date | Sun, 30 May 2010 16:50:02 +0000 |
parents | 002cdc635c03 |
children | 1a2bfa6a546b |
comparison
equal
deleted
inserted
replaced
31221:456417526407 | 31222:d739cbeb0e38 |
---|---|
76 #ifdef CONFIG_NETWORK | 76 #ifdef CONFIG_NETWORK |
77 {"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 77 {"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
78 {"passwd", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 78 {"passwd", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
79 {"bandwidth", &network_bandwidth, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, | 79 {"bandwidth", &network_bandwidth, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, |
80 {"user-agent", &network_useragent, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 80 {"user-agent", &network_useragent, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
81 {"referrer", &network_referrer, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
81 {"cookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 82 {"cookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
82 {"nocookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | 83 {"nocookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL}, |
83 {"cookies-file", &cookies_file, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 84 {"cookies-file", &cookies_file, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
84 {"prefer-ipv4", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 85 {"prefer-ipv4", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
85 {"ipv4-only-proxy", &network_ipv4_only_proxy, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 86 {"ipv4-only-proxy", &network_ipv4_only_proxy, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |