X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=actionlist.h;h=beafdb5abfdef8792b6f111ab9589f2498870834;hp=e54943a06e60a7776325b67acbb0899f79042965;hb=981c0937e8bdfcf7688625628cd5db226053da0c;hpb=9bc7ee6a464af0d6bd203b90b472a30070996f48 diff --git a/actionlist.h b/actionlist.h index e54943a0..beafdb5a 100644 --- a/actionlist.h +++ b/actionlist.h @@ -1,14 +1,48 @@ - -/* - * Master list of supported actions. +/********************************************************************* + * + * File : $Source: /cvsroot/ijbswa/current/actionlist.h,v $ + * + * Purpose : Master list of supported actions. + * Not really a header, since it generates code. + * This is included (3 times!) from actions.c + * Each time, the following macros are defined to + * suitable values beforehand: + * DEFINE_ACTION_MULTI() + * DEFINE_ACTION_STRING() + * DEFINE_ACTION_BOOL() + * DEFINE_ACTION_ALIAS + * + * Copyright : Written by and Copyright (C) 2001 the SourceForge + * IJBSWA team. http://ijbswa.sourceforge.net + * + * Based on the Internet Junkbuster originally written + * by and Copyright (C) 1997 Anonymous Coders and + * Junkbusters Corporation. http://www.junkbusters.com * - * Not really a header, since it generates code. + * This program is free software; you can redistribute it + * and/or modify it under the terms of the GNU General + * Public License as published by the Free Software + * Foundation; either version 2 of the License, or (at + * your option) any later version. * - * This is included (3 times!) from actions.c - * Each time, DEFINE_ACTION_MULTI(), DEFINE_ACTION_STRING(), - * DEFINE_ACTION_BOOL(), and DEFINE_ACTION_ALIAS - * are defined to suitable values beforehand. - */ + * This program is distributed in the hope that it will + * be useful, but WITHOUT ANY WARRANTY; without even the + * implied warranty of MERCHANTABILITY or FITNESS FOR A + * PARTICULAR PURPOSE. See the GNU General Public + * License for more details. + * + * The GNU General Public License should be included with + * this file. If not, you can view it at + * http://www.gnu.org/copyleft/gpl.html + * or write to the Free Software Foundation, Inc., 59 + * Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * Revisions : + * $Log: actionlist.h,v $ + * + *********************************************************************/ + + DEFINE_ACTION_MULTI ("add-header", ACTION_MULTI_ADD_HEADER) DEFINE_ACTION_BOOL ("block", ACTION_BLOCK) DEFINE_ACTION_BOOL ("fast-redirects", ACTION_FAST_REDIRECTS) @@ -18,6 +52,7 @@ DEFINE_ACTION_STRING("hide-from", ACTION_HIDE_FROM, ACTION_STRING_FR DEFINE_ACTION_STRING("hide-referer", ACTION_HIDE_REFERER, ACTION_STRING_REFERER) DEFINE_ACTION_STRING("hide-user-agent", ACTION_HIDE_USER_AGENT, ACTION_STRING_USER_AGENT) DEFINE_ACTION_BOOL ("image", ACTION_IMAGE) +DEFINE_ACTION_STRING("image-blocker", ACTION_IMAGE_BLOCKER, ACTION_STRING_IMAGE_BLOCKER) DEFINE_ACTION_BOOL ("no-cookies-read", ACTION_NO_COOKIE_READ) DEFINE_ACTION_BOOL ("no-cookies-set", ACTION_NO_COOKIE_SET) DEFINE_ACTION_BOOL ("no-popups", ACTION_NO_POPUPS)