X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fmessages.h;h=def0899a4978f57a5560b05a03003621d69c2714;hb=HEAD;hp=872063170affd92ae37b48e0644ee3620f8701d2;hpb=fcf307e182caecb456f8eb86b292143db529d8d8;p=citadel.git diff --git a/webcit/messages.h b/webcit/messages.h index 872063170..41ab5b3d3 100644 --- a/webcit/messages.h +++ b/webcit/messages.h @@ -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;