diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-29 14:59:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-29 14:59:29 +0100 |
commit | 0bafc268eb35e05c230cfc44a0cd877cb7e962dd (patch) | |
tree | 2148aff98db60462d5aecccf7aa6b9385c9f6871 /src/libserver/milter_internal.h | |
parent | 3a269f429ac98cfa929404aab8479160050b49db (diff) | |
download | rspamd-0bafc268eb35e05c230cfc44a0cd877cb7e962dd.tar.gz rspamd-0bafc268eb35e05c230cfc44a0cd877cb7e962dd.zip |
[Minor] More parsing functions for milter proto
Diffstat (limited to 'src/libserver/milter_internal.h')
-rw-r--r-- | src/libserver/milter_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/milter_internal.h b/src/libserver/milter_internal.h index 9a99ad836..f40f007ef 100644 --- a/src/libserver/milter_internal.h +++ b/src/libserver/milter_internal.h @@ -123,6 +123,13 @@ enum rspamd_milter_io_cmd { (RSPAMD_MILTER_FLAG_ADDHDRS | RSPAMD_MILTER_FLAG_ADDRCPT | \ RSPAMD_MILTER_FLAG_DELRCPT | RSPAMD_MILTER_FLAG_CHGHDRS) +enum rspamd_milter_connect_proto { + RSPAMD_MILTER_CONN_UNKNOWN = 'U', + RSPAMD_MILTER_CONN_UNIX = 'L', + RSPAMD_MILTER_CONN_INET = '4', + RSPAMD_MILTER_CONN_INET6 = '6', +}; + /* * Rspamd supports just version 6 of the protocol, failing all versions below * this one |