diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-14 16:12:57 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-14 16:12:57 +0000 |
commit | 7347509ead19b66f951194147d12c9d769a90c20 (patch) | |
tree | 348358f033f4333791522aed7cca7cf69aad4023 /src/view.h | |
parent | 2a0a59ee52a424d10bc7d1d5d77c451b842d8e00 (diff) | |
download | rspamd-7347509ead19b66f951194147d12c9d769a90c20.tar.gz rspamd-7347509ead19b66f951194147d12c9d769a90c20.zip |
Handle views in ucl.
Diffstat (limited to 'src/view.h')
-rw-r--r-- | src/view.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/view.h b/src/view.h index f36f2e1b4..89de824b3 100644 --- a/src/view.h +++ b/src/view.h @@ -40,7 +40,7 @@ struct rspamd_view* init_view (struct config_file *cfg, memory_pool_t *pool); * @param line from line for this view * @return */ -gboolean add_view_from (struct rspamd_view *view, gchar *line); +gboolean add_view_from (struct rspamd_view *view, const gchar *line); /** @@ -49,7 +49,7 @@ gboolean add_view_from (struct rspamd_view *view, gchar *line); * @param line recipient description * @return */ -gboolean add_view_rcpt (struct rspamd_view *view, gchar *line); +gboolean add_view_rcpt (struct rspamd_view *view, const gchar *line); /** * Add ip option for this view @@ -57,7 +57,7 @@ gboolean add_view_rcpt (struct rspamd_view *view, gchar *line); * @param line ip description * @return */ -gboolean add_view_ip (struct rspamd_view *view, gchar *line); +gboolean add_view_ip (struct rspamd_view *view, const gchar *line); /** * Add client ip option for this view @@ -65,7 +65,7 @@ gboolean add_view_ip (struct rspamd_view *view, gchar *line); * @param line ip description * @return */ -gboolean add_view_client_ip (struct rspamd_view *view, gchar *line); +gboolean add_view_client_ip (struct rspamd_view *view, const gchar *line); /** * Add symbols option for this view @@ -73,7 +73,7 @@ gboolean add_view_client_ip (struct rspamd_view *view, gchar *line); * @param line symbols description * @return */ -gboolean add_view_symbols (struct rspamd_view *view, gchar *line); +gboolean add_view_symbols (struct rspamd_view *view, const gchar *line); /** * Check view for this task for specified symbol |