]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.h
* implement read state for room templates
[citadel.git] / webcit / roomops.h
index f31b6645147ce50d5941d78b6da7f089ede1cb89..ac2f607b7b7458cd5c665a96ecd307209e41bac0 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,21 +55,24 @@ 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 ??? */