You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
364 B
20 lines
364 B
#ifndef _MAIL_
|
|
#define _MAIL_
|
|
|
|
#include <protocol/protocol.hpp>
|
|
|
|
#include <functional>
|
|
#include <vector>
|
|
#include <string>
|
|
#include <unordered_map>
|
|
|
|
namespace mail {
|
|
struct message_t {
|
|
std::vector<std::string> header;
|
|
std::vector<std::string> body;
|
|
};
|
|
|
|
using session_map_t = std::unordered_map<protocol::session_t, message_t>;
|
|
}
|
|
|
|
#endif |