From b9768330a0a489db900b5b36cff1ec0dda2acacf Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 12 Jun 2013 19:30:55 +0200 Subject: [PATCH] Started to think about using the Message-id:. --- mymail.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) 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 } + }, + */ + }; /********************************************************************/ -- 2.20.1