]> code.citadel.org Git - citadel.git/blobdiff - webcit/messages.h
Adjust the folder counters when reading / deleting / moving messages
[citadel.git] / webcit / messages.h
index 050117b0e2dd7df7a136eab2ff68045188d67537..3c0145b9a42213c8fdda6fd029c5e23d82c2103c 100644 (file)
@@ -1,3 +1,15 @@
+/*
+ * Copyright (c) 1996-2013 by the citadel.org team
+ *
+ * This program is open source software.  You can redistribute it and/or
+ * modify it under the terms of the GNU General Public License, version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
 extern CtxType CTX_MAILSUM;
 extern CtxType CTX_MIME_ATACH;
 extern HashList *MsgHeaderHandler;
@@ -143,6 +155,7 @@ typedef struct _SharedMessageStatus {
 
        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;  */