]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.h
* implement (INBOX) thing
[citadel.git] / webcit / roomops.h
index f31b6645147ce50d5941d78b6da7f089ede1cb89..19ceba3640080714fc8e7f0eba7151826e4fdcaa 100644 (file)
@@ -1,4 +1,6 @@
 
+#define VIRTUAL_MY_FLOOR -1
+
 /*
  * \brief This struct holds a list of rooms for \\\<G\\\>oto operations.
  */
@@ -30,6 +32,7 @@ typedef struct _floor {
        long ID;
        StrBuf *Name;
        long NRooms;
+       long AlphaN;
 } floor;
 
 /**
@@ -52,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 */