#define _BROWSER_H 1
#ifdef USE_NNTP
-#include "nntp/nntp.h"
+#include "nntp.h"
#endif
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 */