]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
User can now choose to hide or display floors that contain no rooms
[citadel.git] / webcit / webcit.h
index eebfbcb077a7a15f16a50a265165f3f16f4503fd..5f4c3ccdc03b8cb262cc03c3c9d48fbb261672ef 100644 (file)
@@ -315,6 +315,7 @@ struct folder {
        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 */
 };
 
 /**
@@ -581,6 +582,7 @@ void svcallback(char *keyname, void (*fcn_ptr)() );
 void do_template(void *templatename);
 int lingering_close(int fd);
 char *memreadline(char *start, char *buf, int maxlen);
+char *memreadlinelen(char *start, char *buf, int maxlen, int *retlen);
 int num_tokens (char *source, char tok);
 long extract_token(char *dest, const char *source, int parmnum, char separator, int maxlen);
 void remove_token(char *source, int parmnum, char separator);