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

Diff of /imapfilter/imap.c

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

revision 1.20 by lefcha, Sat Nov 10 15:34:20 2001 UTC revision 1.20.2.1 by lefcha, Wed Dec 5 09:55:12 2001 UTC
# Line 45  int imap_noop(void) Line 45  int imap_noop(void)
45    
46    
47  /*  /*
48   * IMAP CAPABILITY: requests listing of capabilities that the server supports   * IMAP CAPABILITY: requests listing of capabilities that the server supports.
49   */   */
50  int imap_capability(void)  int imap_capability(void)
51  {  {
# Line 60  int imap_capability(void) Line 60  int imap_capability(void)
60    
61    
62  /*  /*
63     * IMAP NAMESPACE: discovers the prefix and delimeter of namespaces used by
64     * the server for mailboxes (RFC 2342).
65     */
66    int imap_namespace(void)
67    {
68        char cmd[SMALL_CMD];
69    
70        verbose("Client request: NAMESPACE\n");
71    
72        snprintf(cmd, SMALL_CMD, "%X NAMESPACE\r\n", tag);
73    
74        return send_command(cmd);
75    }
76    
77    
78    
79    /*
80   * IMAP LOGOUT: informs server that client is done.   * IMAP LOGOUT: informs server that client is done.
81   */   */
82  int imap_logout(void)  int imap_logout(void)
# Line 191  int imap_store(char *mesg, char *flags) Line 208  int imap_store(char *mesg, char *flags)
208    
209      verbose("Client request: STORE\n");      verbose("Client request: STORE\n");
210    
211      snprintf(cmd, MEDIUM_CMD, "%X STORE %s +FLAGS.SILENT (%s)\r\n", tag, mesg,      snprintf(cmd, MEDIUM_CMD, "%X STORE %s +FLAGS.SILENT (%s)\r\n", tag,
212               flags);               mesg, flags);
213    
214      return send_command(cmd);      return send_command(cmd);
215  }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.20.2.1

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26