/* $Id$
*/
-extern long SYM_IMAP;
-
void imap_cleanup_function(void);
void imap_greeting(void);
void imap_command_loop(void);
int imap_grabroom(char *returned_roomname, char *foldername);
+void imap_free_transmitted_message(void);
int num_msgs; /* Number of messages being mapped */
long *msgids;
unsigned int *flags;
+ char *transmitted_message; /* for APPEND command... */
+ size_t transmitted_length;
};
/*
#define IMAP ((struct citimap *)CtdlGetUserData(SYM_IMAP))
+
+/*
+ * When loading arrays of message ID's into memory, increase the buffer to
+ * hold this many additional messages instead of calling realloc() each time.
+ */
+#define REALLOC_INCREMENT 100