2 #include "../acl_cpp_define.hpp" 3 #include "../stdlib/string.hpp" 4 #include "../stdlib/noncopyable.hpp" 7 #if !defined(ACL_MIME_DISABLE) 23 const string& get_boundary(
void)
const;
24 const char* get_ctype(
void)
const;
25 const char* get_stype(
void)
const;
26 const string& sender(
void)
const;
27 const string& from(
void)
const;
28 const string& replyto(
void)
const;
29 const string& returnpath(
void)
const;
30 const string& subject(
void)
const;
31 const std::list<char*>& to_list(
void)
const;
32 const std::list<char*>& cc_list(
void)
const;
33 const std::list<char*>& bcc_list(
void)
const;
34 const std::list<char*>& rcpt_list(
void)
const;
35 const std::list<HEADER*>& header_list(
void)
const;
36 const char* header_value(
const char*
name)
const;
37 int header_values(
const char*
name, std::list<const char*>* values)
const;
48 mime_head& add_header(
const char*,
const char*);
49 mime_head& set_type(
const char*,
const char*);
52 void build_head(
string& buf,
bool clean);
59 std::list<char*>* m_rcpts;
60 std::list<char*>* m_tos;
61 std::list<char*>* m_ccs;
62 std::list<char*>* m_bccs;
63 std::list<HEADER*>* m_headers;
76 #endif // !defined(ACL_MIME_DISABLE) HTTP_API void const char * name
struct acl::HEADER HEADER