Integrated the DKIM signer into serv_smtpclient, but disabled it
[citadel.git] / webcit / messages.h
index 872063170affd92ae37b48e0644ee3620f8701d2..41ab5b3d347a7c8ea5a2b819257e99119bf2f309 100644 (file)
@@ -67,25 +67,28 @@ typedef struct _message_summary {
        HashList *AttachLinks;
        HashList *AllAttach;
        int hasattachments;
+       int is_local;                           // nonzero if the message originated on the local system
        wc_mime_attachment *MsgBody;            // the MIME part of the message
 } message_summary;
 
 void DestroyMessageSummary(void *vMsg);
 
-/* Maps to msgkeys[] in msgbase.c: */
+/* some of these fields map to msgkeys[] in msgbase.c ... others don't */
 
+/* I think these are supposed to align with fieldMnemonics in msg_renderers.c
+ * So if you change one you have to change the other.
+ * TODO: figure out who did this and beat them with a wet noodle.
+ */
 typedef enum _eMessageField {
        eAuthor,
        eXclusivID,
        erFc822Addr,
-       eHumanNode,
        emessageId,
        eJournal,
        eReplyTo,
        eListID,
-       eMesageText,
-       eNodeName,
-       eOriginalRoom,
+       eMessageText,
+       eIsLocal,
        eMessagePath,
        eRecipient,
        eSpecialField,
@@ -97,7 +100,6 @@ typedef enum _eMessageField {
        eHeaderOnly,
        eFormatType,
        eMessagePart,
-       ePevious,
        eSubFolder,
        eLastHeader
 } eMessageField;