Proper session structure for mail

master
Thor 4 years ago
parent 86dbd004db
commit 926aecdeb6
  1. 7
      include/mail.hpp

@ -14,7 +14,12 @@ namespace mail {
std::vector<std::string> body;
};
using session_map_t = std::unordered_map<protocol::session_t, message_t>;
struct session_t {
bool has_header = 0;
message_t message;
};
using session_map_t = std::unordered_map<protocol::session_key_t, session_t>;
}
#endif
Loading…
Cancel
Save