diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-20 19:35:07 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-20 19:35:07 +0400 |
commit | 5c9372c4a8678c6856360891180b02c2fdf688ee (patch) | |
tree | bc67f5cb057c4784c67e691f76aa8a8f80a40e51 /src/view.h | |
parent | 9bc06fea2eac12cc46028fcdd630d291a76b68ae (diff) | |
download | rspamd-5c9372c4a8678c6856360891180b02c2fdf688ee.tar.gz rspamd-5c9372c4a8678c6856360891180b02c2fdf688ee.zip |
* Add start script for red hat compatible systems
Add descriptions for some rspamd API functions (no functional changes).
--HG--
rename : linux/rspamd => linux/rspamd_debian.in
Diffstat (limited to 'src/view.h')
-rw-r--r-- | src/view.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/view.h b/src/view.h index 0c7e7a433..b3f033c23 100644 --- a/src/view.h +++ b/src/view.h @@ -22,15 +22,39 @@ struct rspamd_view { memory_pool_t *pool; }; +/* + * Init a new view + */ struct rspamd_view* init_view (memory_pool_t *pool); +/* + * Add from option for this view + */ gboolean add_view_from (struct rspamd_view *view, gchar *line); +/* + * Add from recipient for this view + */ gboolean add_view_rcpt (struct rspamd_view *view, gchar *line); +/* + * Add ip option for this view + */ gboolean add_view_ip (struct rspamd_view *view, gchar *line); +/* + * Add client ip option for this view + */ gboolean add_view_client_ip (struct rspamd_view *view, gchar *line); +/* + * Add symbols option for this view + */ gboolean add_view_symbols (struct rspamd_view *view, gchar *line); +/* + * Check view for this task + */ gboolean check_view (GList *views, const gchar *symbol, struct worker_task *task); +/* + * Check whether this task should be skipped from checking + */ gboolean check_skip (GList *views, struct worker_task *task); #endif |