[Mplayer-cvslog] CVS: main cfg-common.h,1.122,1.123

Alex Beregszaszi alex at mplayerhq.hu
Mon Dec 8 14:26:04 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv2422

Modified Files:
	cfg-common.h 
Log Message:
Send HTTP Cookies (reading from mozilla/netscape files) support by Dave Lambley <mplayer-dev-eng at dlambley.freeserve.co.uk>. Disabled by default.

Index: cfg-common.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-common.h,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- cfg-common.h	8 Dec 2003 13:11:52 -0000	1.122
+++ cfg-common.h	8 Dec 2003 13:25:12 -0000	1.123
@@ -42,10 +42,11 @@
 	{"passwd", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"bandwidth", &network_bandwidth, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
 	{"user-agent", &network_useragent, CONF_TYPE_STRING, 0, 0, 0, NULL},
-	
+	{"cookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+	{"nocookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+	{"cookies-file", &cookies_file, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"prefer-ipv4", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 0, 1, NULL},	
 	{"ipv4-only-proxy", &network_ipv4_only_proxy, CONF_TYPE_FLAG, 0, 0, 1, NULL},	
-
 #ifdef HAVE_AF_INET6
 	{"prefer-ipv6", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 1, 0, NULL},
 #else
@@ -287,6 +288,8 @@
 extern char *network_password;
 extern int   network_bandwidth;
 extern char *network_useragent;
+extern int   network_cookies_enabled;
+extern char *cookies_file;
 
 extern int network_prefer_ipv4;
 extern int network_ipv4_only_proxy;



More information about the MPlayer-cvslog mailing list