Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

action_spec Struct Reference

This structure contains a set of changes to actions. More...


Data Fields

unsigned long mask
unsigned long add
char * string [ACTION_STRING_COUNT]
list multi_remove [ACTION_MULTI_COUNT][1]
int multi_remove_all [ACTION_MULTI_COUNT]
list multi_add [ACTION_MULTI_COUNT][1]


Detailed Description

This structure contains a set of changes to actions.

It can contain both positive and negative instructions. It is used to store an entry in the actions list.


Field Documentation

unsigned long action_spec::add
 

Actions to add.

A bit set to "1" means add action.

unsigned long action_spec::mask
 

Actions to keep.

A bit set to "0" means remove action.

struct list action_spec::multi_add[ACTION_MULTI_COUNT][1]
 

Lists of strings to add, for multi-string actions.

struct list action_spec::multi_remove[ACTION_MULTI_COUNT][1]
 

Lists of strings to remove, for multi-string actions.

int action_spec::multi_remove_all[ACTION_MULTI_COUNT]
 

If nonzero, remove *all* strings from the multi-string action.

char* action_spec::string[ACTION_STRING_COUNT]
 

Paramaters for those actions that require them.

Each entry is valid if & only if the corresponding entry in "flags" is set.


The documentation for this struct was generated from the following file:
Generated on Tue Jun 4 18:54:49 2002 for Privoxy 3.1.1 by doxygen1.2.15