summaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2013-01-08 18:24:24 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2013-01-08 18:24:24 +0400
commit3ac18652e5190623b1c36dd45a5684ca809acd3c (patch)
tree97a46e30be0f6915d506dad439b66c4e3f07ae00 /src/map.h
parent5bf70b4761c7df13ec8271ee0a50068531ffbc80 (diff)
downloadrspamd-3ac18652e5190623b1c36dd45a5684ca809acd3c.tar.gz
rspamd-3ac18652e5190623b1c36dd45a5684ca809acd3c.zip
Add locking for maps.
Add ability to save rolling history in a file.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 5005786dc..8623e6845 100644
--- a/src/map.h
+++ b/src/map.h
@@ -73,6 +73,8 @@ struct rspamd_map {
gchar *uri;
gchar *description;
guint32 id;
+ /* Shared lock for temporary disabling of map reading (e.g. when this map is written by UI) */
+ gint *locked;
};
/**