diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-21 15:57:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-21 15:57:39 +0100 |
commit | ad5bf825b7f33bc10311673991f0cc888e69c0b1 (patch) | |
tree | 51aeb06ce4838ed4af7d591fc2903f4e549b6e93 /src/main.h | |
parent | 53e8a8b05b7f0696ce72ccfd347a35bb80f19570 (diff) | |
download | rspamd-ad5bf825b7f33bc10311673991f0cc888e69c0b1.tar.gz rspamd-ad5bf825b7f33bc10311673991f0cc888e69c0b1.zip |
Refactor task functions.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/main.h b/src/main.h index 3ec26434c..17d693cae 100644 --- a/src/main.h +++ b/src/main.h @@ -198,28 +198,6 @@ extern struct rspamd_main *rspamd_main; /* Worker task manipulations */ /** - * Construct new task for worker - */ -struct rspamd_task* construct_task (struct rspamd_worker *worker); -/** - * Destroy task object and remove its IO dispatcher if it exists - */ -void free_task (struct rspamd_task *task, gboolean is_soft); -void free_task_hard (gpointer ud); -void free_task_soft (gpointer ud); - -/** - * Called if session was restored inside fin callback - */ -void rspamd_restore_task (void *arg); - -/** - * Called if all filters are processed - * @return TRUE if session should be terminated - */ -gboolean rspamd_fin_task (void *arg); - -/** * Set counter for a symbol */ double set_counter (const gchar *name, guint32 value); |