Mercurial > mplayer.hg
comparison cfg-common.h @ 11583:2af52902e7dc
Send HTTP Cookies (reading from mozilla/netscape files) support by Dave Lambley <mplayer-dev-eng@dlambley.freeserve.co.uk>. Disabled by default.
author | alex |
---|---|
date | Mon, 08 Dec 2003 13:25:35 +0000 |
parents | ce9c964c66c3 |
children | bbf3898360e7 |
comparison
equal
deleted
inserted
replaced
11582:ce9c964c66c3 | 11583:2af52902e7dc |
---|---|
40 #ifdef MPLAYER_NETWORK | 40 #ifdef MPLAYER_NETWORK |
41 {"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 41 {"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
42 {"passwd", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 42 {"passwd", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
43 {"bandwidth", &network_bandwidth, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, | 43 {"bandwidth", &network_bandwidth, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, |
44 {"user-agent", &network_useragent, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 44 {"user-agent", &network_useragent, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
45 | 45 {"cookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
46 {"nocookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | |
47 {"cookies-file", &cookies_file, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
46 {"prefer-ipv4", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 48 {"prefer-ipv4", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
47 {"ipv4-only-proxy", &network_ipv4_only_proxy, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 49 {"ipv4-only-proxy", &network_ipv4_only_proxy, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
48 | |
49 #ifdef HAVE_AF_INET6 | 50 #ifdef HAVE_AF_INET6 |
50 {"prefer-ipv6", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | 51 {"prefer-ipv6", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 1, 0, NULL}, |
51 #else | 52 #else |
52 {"prefer-ipv6", "MPlayer was compiled WITHOUT IPv6 support\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, | 53 {"prefer-ipv6", "MPlayer was compiled WITHOUT IPv6 support\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, |
53 #endif | 54 #endif |
285 /* defined in network.c */ | 286 /* defined in network.c */ |
286 extern char *network_username; | 287 extern char *network_username; |
287 extern char *network_password; | 288 extern char *network_password; |
288 extern int network_bandwidth; | 289 extern int network_bandwidth; |
289 extern char *network_useragent; | 290 extern char *network_useragent; |
291 extern int network_cookies_enabled; | |
292 extern char *cookies_file; | |
290 | 293 |
291 extern int network_prefer_ipv4; | 294 extern int network_prefer_ipv4; |
292 extern int network_ipv4_only_proxy; | 295 extern int network_ipv4_only_proxy; |
293 | 296 |
294 #endif | 297 #endif |