Make the sidebar live in a proper independent window.
[apps/madmutt.git] / browser.h
index 20aedc9..721889b 100644 (file)
--- a/browser.h
+++ b/browser.h
@@ -11,7 +11,7 @@
 #define _BROWSER_H 1
 
 #ifdef USE_NNTP
-#include "nntp/nntp.h"
+#include "nntp.h"
 #endif
 
 struct folder_file {
@@ -24,30 +24,26 @@ struct folder_file {
   char *desc;
 
   unsigned short new;
-#ifdef USE_IMAP
   char delim;
 
   unsigned imap:1;
   unsigned selectable:1;
   unsigned inferiors:1;
-#endif
 #ifdef USE_NNTP
-  NNTP_DATA *nd;
+  nntp_data_t *nd;
 #endif
   unsigned tagged:1;
 };
 
 struct browser_state {
   struct folder_file *entry;
-  unsigned int entrylen;        /* number of real entries */
-  unsigned int entrymax;        /* max entry */
-#ifdef USE_IMAP
+  int entrylen;        /* number of real entries */
+  int entrymax;        /* max entry */
   short imap_browse;
   char *folder;
   unsigned noselect:1;
   unsigned marked:1;
   unsigned unmarked:1;
-#endif
 };
 
 #endif /* _BROWSER_H */