-/* imap.h */
+/*
+ * imap.h
+ *
+ * Copyright (C) 2003 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This file is released under the GPLv2
+ */
#ifndef IMAP_H
#define IMAP_H 1
-
/* Exported variables */
#undef _SCOPE_
#ifdef IMAP_M
# define _SCOPE_ extern
#endif
+int IMAP4_CheckForNewMail(void);
-#define IMAP4_IN_BUF_SIZE 1024
-
-#define IMAP4_SUCCESS "OK"
-#define IMAP4_FAILURE "NO"
-#define IMAP4_PROTOCOL_ERR "BAD"
-
-#define IMAP4_UNSEEN "* OK [UNSEEN"
-
-
-#define IMAP_CMD_CAPABILITY "CAPABILITY"
-#define IMAP_CMD_LOGIN "LOGIN"
-#define IMAP_CMD_EXAMINE "EXAMINE"
-#define IMAP_CMD_LOGOUT "LOGOUT"
-
-#define IMAP4_ENDL "\r\n" /* CRLF */
-
-
-int
-IMAP4_CheckForNewMail( void );
-
-
-#endif /* IMAP_H */
+#endif /* IMAP_H */