diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-04 14:51:42 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-04 14:51:42 +0100 |
commit | 89a411447ebc068efbe4c841c95adeaf9a1bbcd0 (patch) | |
tree | 4808e0e1e26ba10735718c2a6cc3711a5b4e8620 /src/fuzzy_storage.h | |
parent | d0544d42a0cd4aa6f1b8d52c90c0e65b9d1c335b (diff) | |
download | rspamd-89a411447ebc068efbe4c841c95adeaf9a1bbcd0.tar.gz rspamd-89a411447ebc068efbe4c841c95adeaf9a1bbcd0.zip |
Allow restriction of update commands for fuzzy storage.
Now it is possible to specify ip or networks from which fuzzy
updates or removes are possible.
Rework sockets logic while I'm here.
Create universal utility for parsing ipv4/mask strings.
Diffstat (limited to 'src/fuzzy_storage.h')
-rw-r--r-- | src/fuzzy_storage.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/fuzzy_storage.h b/src/fuzzy_storage.h index 2e60670df..3e6bcd818 100644 --- a/src/fuzzy_storage.h +++ b/src/fuzzy_storage.h @@ -18,13 +18,4 @@ struct fuzzy_cmd { u_char hash[FUZZY_HASHLEN]; }; -struct fuzzy_session { - struct rspamd_worker *worker; - struct fuzzy_cmd cmd; - gint fd; - u_char *pos; - socklen_t salen; - struct sockaddr_storage sa; -}; - #endif |