* create function to parse the output of goto into our folder structure
[citadel.git] / webcit / roomops.h
index 19d151e29e3e808b2d84933e751d680cdd4e6a24..8cdf095e041ff42486fa510f61a178401229640f 100644 (file)
@@ -74,14 +74,28 @@ typedef struct _folder {
        StrBuf **RoomNameParts;
 
        const floor *Floor;   /* pint to the floor we're on.. */
-       StrBuf *room;   /* which roomname ??? */
-
 
        int hasnewmsgs; /* are there unread messages inside */
        int is_inbox;   /* is it a mailbox?  */
+
+
+
        int selectable; /* can we select it ??? */
        long num_rooms; /* If this is a floor, how many rooms does it have */
 
+
+/* Only available from the GOTO context... */
+       long nNewMessages;
+       long nTotalMessages;
+       long LastMessageRead;
+       long HighestRead;
+       int ShowInfo;
+       int UsersNewMAilboxMessages; /* should we notify the user about new messages? */
+       int IsTrash;
+
 }folder;
 
 HashList *GetFloorListHash(StrBuf *Target, WCTemplputParams *TP);
+void vDeleteFolder(void *vFolder);
+void FlushFolder(folder *room);
+void ParseGoto(folder *proom, StrBuf *Line);