still must match obs first
[ghsmtp.git] / SRS.hpp
bloba02587c4c17cdcc67c139fc9da69b4c947e16fb7
1 #ifndef SRS_DOT_HPP
2 #define SRS_DOT_HPP
4 #include <string>
6 typedef struct _srs_t srs_t;
8 class SRS {
9 public:
10 SRS();
11 ~SRS();
13 std::string forward(char const* sender, char const* alias) const;
14 std::string reverse(char const* sender) const;
16 void add_secret(char const* secret);
18 private:
19 srs_t* srs_;
22 #endif // SRS_DOT_HPP