From: oes Date: Wed, 25 Jul 2001 17:20:27 +0000 (+0000) Subject: Introduced http->user_agent X-Git-Tag: v_2_9_9~211 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/quickstart.html?a=commitdiff_plain;h=8ae6c857b64743285ed9e26b95fbf99965842e68;p=privoxy.git Introduced http->user_agent --- diff --git a/project.h b/project.h index 2f14079c..50a79590 100644 --- a/project.h +++ b/project.h @@ -1,6 +1,6 @@ #ifndef _PROJECT_H #define _PROJECT_H -#define PROJECT_H_VERSION "$Id: project.h,v 1.22 2001/07/15 17:51:41 jongfoster Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.23 2001/07/18 12:32:23 oes Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -36,6 +36,10 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.23 2001/07/18 12:32:23 oes + * - Added ACTION_STRING_DEANIMATE + * - moved #define freez from jcc.h to project.h + * * Revision 1.22 2001/07/15 17:51:41 jongfoster * Renaming #define STATIC to STATIC_PCRE * @@ -306,6 +310,7 @@ struct http_request char *ver; char *hostport; /* "host[:port]" */ int ssl; + char *user_agent; /* Client's User-Agent: header value */ }; /* Response generated by CGI, blocker, or error handler */ @@ -345,11 +350,11 @@ struct url_spec #endif }; +/* Constants for host part matching in URLs */ #define ANCHOR_LEFT 1 #define ANCHOR_RIGHT 2 - /* An I/O buffer */ struct iob { @@ -668,6 +673,8 @@ struct forward_spec struct re_filterfile_spec { + char *username; + char *filtername; struct list patterns[1]; pcrs_job *joblist; };