diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2013-01-08 18:24:24 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2013-01-08 18:24:24 +0400 |
commit | 3ac18652e5190623b1c36dd45a5684ca809acd3c (patch) | |
tree | 97a46e30be0f6915d506dad439b66c4e3f07ae00 /src/map.h | |
parent | 5bf70b4761c7df13ec8271ee0a50068531ffbc80 (diff) | |
download | rspamd-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; }; /** |