From: Daniel Stenberg Date: Tue, 20 Jun 2000 11:23:31 +0000 (+0000) Subject: Added auto and free referer fields to the UrlData struct X-Git-Tag: curl-7_1_1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f22717fe6c379d3565cfd252c7c2f9b80ca15f97;p=thirdparty%2Fcurl.git Added auto and free referer fields to the UrlData struct --- diff --git a/lib/urldata.h b/lib/urldata.h index 124d95e3bc..132b2e2484 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -252,6 +252,7 @@ struct Configbits { bool http_post; bool http_put; bool http_set_referer; + bool http_auto_referer; /* set "correct" referer when following location: */ bool httpproxy; bool mute; bool no_body; @@ -335,6 +336,9 @@ struct UrlData { char *range; /* range, if used. See README for detailed specification on this syntax. */ char *postfields; /* if POST, set the fields' values here */ + + bool free_referer; /* set TRUE if 'referer' points to a string we + allocated */ char *referer; char *useragent; /* User-Agent string */