aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/roll_history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/roll_history.h')
-rw-r--r--src/libserver/roll_history.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/libserver/roll_history.h b/src/libserver/roll_history.h
index 1dff93a4f..85a8f2ddc 100644
--- a/src/libserver/roll_history.h
+++ b/src/libserver/roll_history.h
@@ -78,14 +78,15 @@ struct roll_history {
* @param pool pool for shared memory
* @return new structure
*/
-struct roll_history* rspamd_roll_history_new (rspamd_mempool_t *pool);
+struct roll_history * rspamd_roll_history_new (rspamd_mempool_t *pool);
/**
* Update roll history with data from task
* @param history roll history object
* @param task task object
*/
-void rspamd_roll_history_update (struct roll_history *history, struct rspamd_task *task);
+void rspamd_roll_history_update (struct roll_history *history,
+ struct rspamd_task *task);
/**
* Load previously saved history from file
@@ -93,7 +94,8 @@ void rspamd_roll_history_update (struct roll_history *history, struct rspamd_tas
* @param filename filename to load from
* @return TRUE if history has been loaded
*/
-gboolean rspamd_roll_history_load (struct roll_history *history, const gchar *filename);
+gboolean rspamd_roll_history_load (struct roll_history *history,
+ const gchar *filename);
/**
* Save history to file
@@ -101,6 +103,7 @@ gboolean rspamd_roll_history_load (struct roll_history *history, const gchar *fi
* @param filename filename to load from
* @return TRUE if history has been saved
*/
-gboolean rspamd_roll_history_save (struct roll_history *history, const gchar *filename);
+gboolean rspamd_roll_history_save (struct roll_history *history,
+ const gchar *filename);
#endif /* ROLL_HISTORY_H_ */