]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.h
* implement (INBOX) thing
[citadel.git] / webcit / roomops.h
index c569d4e29be02edf08ae9a22901f82d2bcefd677..19ceba3640080714fc8e7f0eba7151826e4fdcaa 100644 (file)
@@ -32,6 +32,7 @@ typedef struct _floor {
        long ID;
        StrBuf *Name;
        long NRooms;
+       long AlphaN;
 } floor;
 
 /**
@@ -54,28 +55,31 @@ struct __ofolder {
  * \brief  Data structure for roomlist-to-folderlist conversion 
  */
 typedef struct _folder {
-       StrBuf *name;   /* which is its own name??? */
+       /* Data citserver tells us about the room */
+       StrBuf *name;   /* the full name of the room we're talking about */
        int QRFlags;    /* roomflags */
        int floorid;      /* which floor is it on */
 
-
        int listorder; /* todo */
+       int QRFlags2;    /* Bitbucket NO2 */
 
-       StrBuf *ACL;    /* access Control list... */
+       long RAFlags;
+///    StrBuf *ACL;    /* access Control list... */
 
        int view;       /* whats its default view? inbox/calendar.... */
        int defview;
        int lastchange; /* todo... */
 
-
-
+       /* later evaluated data from the serverdata */
+       long nRoomNameParts;
+       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_mailbox; /* is it a mailbox?  */
+       int is_inbox;   /* is it a mailbox?  */
        int selectable; /* can we select it ??? */
        int num_rooms;  /* If this is a floor, how many rooms does it have */