Added +image-blocker{} option - comment and default setting.
[privoxy.git] / actionlist.h
1
2 /*
3  * Master list of supported actions.
4  *
5  * Not really a header, since it generates code.
6  *
7  * This is included (3 times!) from actions.c
8  * Each time, DEFINE_ACTION_MULTI(), DEFINE_ACTION_STRING(),
9  * DEFINE_ACTION_BOOL(), and DEFINE_ACTION_ALIAS
10  * are defined to suitable values beforehand.
11  */
12 DEFINE_ACTION_MULTI ("add-header",                              ACTION_MULTI_ADD_HEADER)
13 DEFINE_ACTION_BOOL  ("block",           ACTION_BLOCK)
14 DEFINE_ACTION_BOOL  ("fast-redirects",  ACTION_FAST_REDIRECTS)
15 DEFINE_ACTION_BOOL  ("filter",          ACTION_FILTER)
16 DEFINE_ACTION_BOOL  ("hide-forwarded",  ACTION_HIDE_FORWARDED)
17 DEFINE_ACTION_STRING("hide-from",       ACTION_HIDE_FROM,       ACTION_STRING_FROM)
18 DEFINE_ACTION_STRING("hide-referer",    ACTION_HIDE_REFERER,    ACTION_STRING_REFERER)
19 DEFINE_ACTION_STRING("hide-user-agent", ACTION_HIDE_USER_AGENT, ACTION_STRING_USER_AGENT)
20 DEFINE_ACTION_BOOL  ("image",           ACTION_IMAGE)
21 DEFINE_ACTION_STRING("image-blocker",   ACTION_IMAGE_BLOCKER,   ACTION_STRING_IMAGE_BLOCKER)
22 DEFINE_ACTION_BOOL  ("no-cookies-read", ACTION_NO_COOKIE_READ)
23 DEFINE_ACTION_BOOL  ("no-cookies-set",  ACTION_NO_COOKIE_SET)
24 DEFINE_ACTION_BOOL  ("no-popups",       ACTION_NO_POPUPS)
25 DEFINE_ACTION_BOOL  ("vanilla-wafer",   ACTION_VANILLA_WAFER)
26 DEFINE_ACTION_MULTI ("wafer",                                   ACTION_MULTI_WAFER)
27 #if DEFINE_ACTION_ALIAS
28 DEFINE_ACTION_BOOL  ("no-popup",        ACTION_NO_POPUPS)
29 DEFINE_ACTION_STRING("hide-referrer",   ACTION_HIDE_REFERER,    ACTION_STRING_REFERER)
30 #endif /* if DEFINE_ACTION_ALIAS */