#define PORT_NUM 2000 /* port number to listen on */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
-#define CLIENT_VERSION 762 /* This version of WebCit */
+#define CLIENT_VERSION 763 /* This version of WebCit */
#define MINIMUM_CIT_VERSION 761 /* min required Citadel ver */
-#define LIBCITADEL_MIN 761 /* min required libcitadel ver */
+#define LIBCITADEL_MIN 763 /* min required libcitadel ver */
#define DEFAULT_HOST "localhost" /* Default Citadel server */
#define DEFAULT_PORT "504"
#define TARGET "webcit01" /* Target for inline URL's */
} ServInfo;
-
-/*
- * \brief This struct holds a list of rooms for \\\<G\\\>oto operations.
- */
-struct march {
- struct march *next; /* pointer to next in linked list */
- char march_name[128]; /* name of room */
- int march_floor; /* floor number of room */
- int march_order; /* sequence in which we are to visit this room */
-};
-
-/* *
- * \brief This struct holds a list of rooms for client display.
- * It is a binary tree.
- */
-struct roomlisting {
- struct roomlisting *lnext; /* pointer to 'left' tree node */
- struct roomlisting *rnext; /* pointer to 'right' tree node */
- char rlname[128]; /* name of room */
- unsigned rlflags; /* room flags */
- int rlfloor; /* the floor it resides on */
- int rlorder; /* room listing order */
-};
-
-
-
-
-
-
-
-/**
- * \brief Data structure for roomlist-to-folderlist conversion
- */
-struct folder {
- int floor; /* which floor is it on */
- char room[SIZ]; /* which roomname ??? */
- char name[SIZ]; /* which is its own name??? */
- int hasnewmsgs; /* are there unread messages inside */
- int is_mailbox; /* is it a mailbox? */
- int selectable; /* can we select it ??? */
- int view; /* whats its default view? inbox/calendar.... */
- int num_rooms; /* If this is a floor, how many rooms does it have */
-};
-
typedef struct _disp_cal {
icalcomponent *cal; /* cal items for display */
long cal_msgnum; /* cal msgids for display */
int remember_new_mail; /**< last count of new mail messages */
/* Roomiew control */
+ HashList *Floors; /**< floors our citserver has... */
HashList *summ; /**< list of messages for mailbox summary view */
/** Perhaps these should be within a struct instead */
long startmsg; /**< message number to start at */
char last_chat_user[256]; /**< ??? todo */
/* Iconbar controls */
- struct folder *cache_fold; /**< cache the iconbar room list */
+ struct __ofolder *cache_fold; /**< cache the iconbar room list */
int cache_max_folders; /**< ??? todo */
int cache_num_floors; /**< ??? todo */
time_t cache_timestamp; /**< ??? todo */
void display_edit(char *description, char *check_cmd,
char *read_cmd, char *save_cmd, int with_room_banner);
long gotoroom(const StrBuf *gname);
+void remove_march(const StrBuf *aaa);
+void dotskip(void);
void confirm_delete_room(void);
void validate(void);
void display_graphics_upload(char *, char *, char *);