Split mailview renderers from mailview tokens
[citadel.git] / webcit / messages.h
index eb014f43852f55452d9afab34c491feccb266abf..7dd909c33668784a34af6e0cc2c2bb192f85a328 100644 (file)
@@ -9,6 +9,8 @@
  * 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;
@@ -139,7 +141,8 @@ int read_message(StrBuf *Target,
                 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);
@@ -293,3 +296,6 @@ void RegisterMimeRenderer(const char *HeaderName, long HdrNLen,
  * @param buf linebuffer used to buffer citserver replies
  */
 int ReadOneMessageSummary(message_summary *Msg, StrBuf *FoundCharset, StrBuf *Buf);
+
+
+#endif