Skip to main content

The members of this struct are as follows:

struct _rfc2822_context {
  struct _rfc2822_field *headers;
  char *header_crutch;
  const char *body;
  struct timeval now;
  int body_len;
  unsigned body_should_free:1;
  unsigned needs_reassembly:1;
  unsigned had_date:1;
  unsigned add_date_if_needed:1;
  unsigned needs_crlf_dot_crlf:1;
  unsigned pedantic_crlf_headers:1;
  unsigned pedantic_crlf_body:1;
  unsigned pedantic_max_line_length:2;
};

To use this struct, include the file rfc2822_parser.h.

See Also

Was this page helpful?