Go to the source code of this file.
Typedefs | |
typedef enum filter_prop | filter_prop_t |
MAX_FILTER_PROP is used to know how many FILTER_PROPS there are. | |
typedef enum filter_prop_state | filter_prop_state_t |
The states a filter_property. | |
Enumerations | |
enum | rule_type { RULE_TEXT = 0, RULE_IP, RULE_SIZE, RULE_JUMP, RULE_SHA1, RULE_FLAG, RULE_STATE } |
enum | rule_text_type { RULE_TEXT_PREFIX, RULE_TEXT_WORDS, RULE_TEXT_SUFFIX, RULE_TEXT_SUBSTR, RULE_TEXT_REGEXP, RULE_TEXT_EXACT } |
enum | rule_flag_action { RULE_FLAG_SET = 0, RULE_FLAG_UNSET = 1, RULE_FLAG_IGNORE = 2 } |
enum | filter_prop { FILTER_PROP_DISPLAY = 0, FILTER_PROP_DOWNLOAD, MAX_FILTER_PROP } |
MAX_FILTER_PROP is used to know how many FILTER_PROPS there are. More... | |
enum | filter_prop_state { FILTER_PROP_STATE_UNKNOWN = 0, FILTER_PROP_STATE_DO, FILTER_PROP_STATE_DONT, MAX_FILTER_PROP_STATE, FILTER_PROP_STATE_IGNORE } |
The states a filter_property. More... |
|
The states a filter_property. I chose 0 for UNKNOWN because that makes it easy to initialize the property array with g_new0 and it's easy to check if the state is still unset by !. FILTER_PROP_IGNORE is needed because we also want filter rules that allow to act only on one property and ignores the other. |
|
MAX_FILTER_PROP is used to know how many FILTER_PROPS there are.
|
|
MAX_FILTER_PROP is used to know how many FILTER_PROPS there are.
|
|
The states a filter_property. I chose 0 for UNKNOWN because that makes it easy to initialize the property array with g_new0 and it's easy to check if the state is still unset by !. FILTER_PROP_IGNORE is needed because we also want filter rules that allow to act only on one property and ignores the other. |
|
|
|
|
|
|