]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.h
MAILINGLIST: add facility to choose the default room email alias.
[citadel.git] / webcit / roomops.h
index 8c841616453c0e98a6032ee385333f1ae128bd7d..7d9cd89e3792281e9e51ac22bb9796fa76a276cd 100644 (file)
@@ -78,6 +78,9 @@ typedef struct _folder {
        int RoomAideLoaded;
        StrBuf *RoomAide;
 
+/* only available if GNET contains this */
+       const StrBuf* RoomAlias; /* by what mail will this room send mail? */
+
 /* only available if GETR was run */
        int XALoaded;
        StrBuf *XAPass;
@@ -121,6 +124,20 @@ int SortRoomsByListOrder(const void *room1, const void *room2);
 void tmplput_roombanner(StrBuf *Target, WCTemplputParams *TP);
 
 
+void LoadRoomAide(void);
+void LoadRoomXA (void);
+void LoadXRoomPic(void);
+void LoadXRoomInfoText(void);
+void LoadXRoomXCountFiles(void);
+
+long gotoroom(const StrBuf *gname);
+
+void slrp_highest(void);
+void remove_march(const StrBuf *aaa);
+void dotskip(void);
+void smart_goto(const StrBuf *next_room);
+void free_march_list(wcsession *wcf);
+
 /*
  * wrapper around usual sort-comparator; private rooms will allways be prefered, -1 if one of them NULL
  */
@@ -135,3 +152,6 @@ int CompareRooms(const folder *room1, const folder *room2);
 #define REST_GOT_LOCAL_PART (1<<4)
 #define REST_NONEXIST (1<<5)
 
+
+extern CtxType CTX_ROOMS;
+extern CtxType CTX_FLOORS;