Commit 9a508f59 9a508f598cf99f98710590da1ac7cbbe940c6c6b by Sergey Poznyakoff

(imap4d_auth_capability): New function.

1 parent f318f2a4
......@@ -30,6 +30,14 @@ struct imap_auth {
};
int
imap4d_auth_capability ()
{
struct imap_auth *ap;
for (ap = imap_auth_tab; ap->name; ap++)
util_send(" AUTH=%s", ap->name);
}
int
imap4d_authenticate (struct imap4d_command *command, char *arg)
{
char *sp = NULL;
......
......@@ -156,6 +156,7 @@ extern char *strtok_r __P((char *s, const char *delim, char **save_ptr));
extern int imap4d_append __P ((struct imap4d_command *, char *));
extern int imap4d_append0 __P((mailbox_t mbox, int flags, char *text));
extern int imap4d_authenticate __P ((struct imap4d_command *, char *));
extern int imap4d_auth_capability __P((void));
extern int imap4d_capability __P ((struct imap4d_command *, char *));
extern int imap4d_check __P ((struct imap4d_command *, char *));
extern int imap4d_close __P ((struct imap4d_command *, char *));
......