diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-17 15:01:52 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-17 15:01:52 +0000 |
commit | dbe85000375aa0a02d38bb694b7e1d3877160c4f (patch) | |
tree | 629419ace3e8f50751382ccdd0172346e174d2b9 /src/libutil/expression.h | |
parent | d020cbe23cd569fb7cf4edb07e0fa827d1d49a89 (diff) | |
download | rspamd-dbe85000375aa0a02d38bb694b7e1d3877160c4f.tar.gz rspamd-dbe85000375aa0a02d38bb694b7e1d3877160c4f.zip |
Add expressions parsing code.
Diffstat (limited to 'src/libutil/expression.h')
-rw-r--r-- | src/libutil/expression.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/expression.h b/src/libutil/expression.h index a99343e69..798d3a48c 100644 --- a/src/libutil/expression.h +++ b/src/libutil/expression.h @@ -33,6 +33,8 @@ typedef struct rspamd_expression_atom_s { gpointer data; /* String representation of atom */ const gchar *str; + /* Length of the string representation of atom */ + gsize len; /* Relative priority */ gint priority; } rspamd_expression_atom_t; |