* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
+#ifndef MESSAGES_H
+#define MESSAGES_H
extern CtxType CTX_MAILSUM;
extern CtxType CTX_MIME_ATACH;
StrBuf *to; /* the recipient */
StrBuf *subj; /* the title / subject */
StrBuf *reply_inreplyto;
+ long reply_inreplyto_hash;
StrBuf *reply_references;
+ long reply_references_hash;
StrBuf *ReplyTo;
StrBuf *cccc;
StrBuf *hnod;
const char *tmpl, long tmpllen,
long msgnum,
const StrBuf *section,
- const StrBuf **OutMime);
+ const StrBuf **OutMime,
+ WCTemplputParams *TP);
int load_message(message_summary *Msg,
StrBuf *FoundCharset,
StrBuf **Error);
long startmsg; /* which is the start message? */
long nummsgs; /* How many messages are available to your view? */
+ long numNewmsgs; /* if you load the seen-status, this is the count of them. */
long num_displayed; /* counted up for LoadMsgFromServer */ /* TODO: unclear who should access this and why */
long lowest_found; /* smallest Message ID found; */
RenderMimeFunc MimeRenderer,
int InlineRenderable,
int Priority);
+
+
+/**
+ * @brief fill the header parts of Msg with the headers loaded by MSG0
+ * @param Msg empty message struct, only preinitialized with the msgid
+ * @param FoundCharset buffer with the prefered charset of the headers
+ * @param buf linebuffer used to buffer citserver replies
+ */
+int ReadOneMessageSummary(message_summary *Msg, StrBuf *FoundCharset, StrBuf *Buf);
+
+
+#endif