Started to think about using the Message-id:.
authorFrancois Fleuret <francois@fleuret.org>
Wed, 12 Jun 2013 17:30:55 +0000 (19:30 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Wed, 12 Jun 2013 17:30:55 +0000 (19:30 +0200)
mymail.c

index 21425a5..b0744be 100644 (file)
--- 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 }
+  },
+  */
+
 };
 
 /********************************************************************/