struct pat_ref
This struct contain the pattern
references. These are the string
representation of the original pattern
input. This is used for for changing
entries.
struct list list
Used to chain struct pat_ref
unsigned int flags
Free flags. Actually, it is used to
ndicate the usage of this reference. It
can be PAT_REF_MAP and/or PAT_REF_ACL
char *reference
The reference name.
struct list pat
The head of the list of all struct
pattern_expr that uses this list.
struct list head
The head of the list of all entries of
the reference.
struct pat_ref_elt
This contain the basic data for one
pattern entry.
struct list list
Used to chain
char *pattern
Pattern as string form
char *sample
Value as string form
int line
The original line number.
struct pattern_head
This struct constain a list of pattern
expressions that can apply on ACL or
MAP.
parse
The function used for parsing pattern
parse_smp
The function used for parsing the
associated sample
index
The function used for indexing the
pattern
delete
The function used for deleting one
pattern
looksmp
This function return the sample with
looking for the pattern
prune
This function clean pattern_expr
match
This function check if value match the
pattern
struct list head
This contain the head of the list of
all pattern_expr
struct pattern_expr
This struct contain he data relative to
one pattern.
struct pattern_head *pat_head
the pattern_head reference
struct pat_ref *ref
The reference
struct list list
Used to chian in struct pat_ref
struct list patterns
Free use for indexing patterns
struct eb_root pattern_tree
Free use for indexing patterns
struct eb_root pattern_tree_2
Free use for indexing patterns
ACL
MAP
Static list of
reference
struct pattern_expr_list
This struct is just used for
establishing the list of pattern that
depends of a pattern_head struct.
struct list list
Used to chian in struct pat_ref
int do_free
The pointer expr must be freed
struct pattern_expr *expr
Free use for indexing patterns
WARNING: (struct pattern_head *)foo->head->(struct patttern_expr_list)->expr->pat_head CAN BE != foo.
struct pattern_tree
This struct is element of a tree
struct ebmb_node node
Used to chian in struct pat_ref
struct sample_storage
contain the sample
struct pat_ref_elt *elt
Reference to original pattern source
struct pattern_list
This struct is element of a list
struct list list
Used to chian in struct pat_ref
struct pattern pattern
Reference to original pattern source
struct pattern
This struct contain the values of the
pattern matching
[...]
The vars and attributes forming the
pattern
struct sample_storage
contain the sample
struct pat_ref_elt *elt
Reference to original pattern source
Create static pattern
based to the tree data
List
List
List
List
List
Tree