diff 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
line wrap: on
line diff
--- a/cfg-common-opts.h	Sun May 30 16:48:18 2010 +0000
+++ b/cfg-common-opts.h	Sun May 30 16:50:02 2010 +0000
@@ -78,6 +78,7 @@
     {"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},
+    {"referrer", &network_referrer, 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},