From: Francois Fleuret Date: Wed, 12 Jun 2013 17:30:55 +0000 (+0200) Subject: Started to think about using the Message-id:. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=b9768330a0a489db900b5b36cff1ec0dda2acacf;p=mymail.git Started to think about using the Message-id:. --- diff --git a/mymail.c b/mymail.c index 21425a5..b0744be 100644 --- a/mymail.c +++ b/mymail.c @@ -84,6 +84,10 @@ enum { ID_PARTICIPANT, ID_BODY, ID_TIME_INTERVAL, + /* + ID_MAIL_ID, + ID_REFERENCES, + */ MAX_ID }; @@ -96,7 +100,11 @@ static char *field_keys[] = { "date", "part", "body", - "interval" + "interval", + /* + "mailid", + "references" + */ }; /********************************************************************/ @@ -153,6 +161,22 @@ static struct parsable_field fields_to_parse[] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, + /* + { + ID_MAIL_ID, + REG_ICASE, + "^message-id: ", + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } + }, + + { + ID_REFERENCES, + REG_ICASE, + "^\\(in-reply-to\\|references\\): ", + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } + }, + */ + }; /********************************************************************/