[Mplayer-cvslog] CVS: main cfg-common.h,1.115,1.116
Alex Beregszaszi
alex at mplayerhq.hu
Wed Oct 22 19:53:45 CEST 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv2566
Modified Files:
cfg-common.h
Log Message:
User settable http user-agent. Patch by Per Wigren
Index: cfg-common.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-common.h,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- cfg-common.h 20 Oct 2003 13:35:29 -0000 1.115
+++ cfg-common.h 22 Oct 2003 17:52:42 -0000 1.116
@@ -41,6 +41,7 @@
{"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL},
{"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},
{"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},
@@ -53,7 +54,9 @@
#else
{"user", "MPlayer was compiled WITHOUT streaming(network) support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+ {"passwd", "MPlayer was compiled WITHOUT streaming(network) support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
{"bandwidth", "MPlayer was compiled WITHOUT streaming(network) support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+ {"user-agent", "MPlayer was compiled WITHOUT streaming(network) support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif
@@ -273,6 +276,7 @@
extern char *network_username;
extern char *network_password;
extern int network_bandwidth;
+extern char *network_useragent;
extern int network_prefer_ipv4;
extern int network_ipv4_only_proxy;
More information about the MPlayer-cvslog
mailing list