/[imapfilter]/imapfilter/imap.c
ViewVC logotype

Diff of /imapfilter/imap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.34 by lefcha, Sat Jul 26 19:43:02 2003 UTC revision 1.35 by lefcha, Sun Jul 27 10:08:42 2003 UTC
# Line 111  imap_logout(int *sock) Line 111  imap_logout(int *sock)
111  }  }
112    
113    
114    /*
115     * IMAP STARTTLS: begin TLS negotiation.
116     */
117    int
118    imap_starttls(int *sock)
119    {
120            char cmd[SMALL_CMD];
121    
122            snprintf(cmd, SMALL_CMD, "%X STARTTLS\r\n", tag);
123    
124            return send_command(sock, cmd);
125    }
126    
127    
128  #ifdef CRAM_MD5  #ifdef CRAM_MD5
129  /*  /*
130   * IMAP AUTHENTICATE: indicates authentication mechanism and performs an   * IMAP AUTHENTICATE: indicates authentication mechanism and performs an

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26