diff options
author | John Denker <jsd@av8n.com> | 2012-07-31 19:23:01 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-07-31 19:23:01 -0700 |
commit | b95f5ec1d83519c603f6e2145865c14932c4a813 (patch) | |
tree | 2c67a4626712344168672e935b89322309e78f2c /tools/sepofra.h | |
parent | cff5a7b49c4151fdc55e085b150385259d0dc781 (diff) |
smarter about top-level domains, smarter about avoiding duplicate checks
Diffstat (limited to 'tools/sepofra.h')
-rw-r--r-- | tools/sepofra.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/sepofra.h b/tools/sepofra.h index 2e4b831..60a404f 100644 --- a/tools/sepofra.h +++ b/tools/sepofra.h @@ -1,5 +1,6 @@ #include <string> #include <list> +#include <map> # include <sys/socket.h> /* inet_ functions / structs */ # include <netinet/in.h> /* inet_ functions / structs */ # include <arpa/inet.h> /* in_addr struct */ @@ -15,10 +16,13 @@ extern "C" { #include <string.h> #include "bad_thing.h" +typedef std::map<std::string,int> MSI; + class sepofra{ public: SPF_result_t result; std::list<std::string> authorities; + MSI seen; std::string ip; std::string mailfrom; std::string helo; |