/[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.21 by lefcha, Sat Dec 8 14:39:43 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 57  int imap_capability(void) Line 57  int imap_capability(void)
57    
58      return send_command(cmd);      return send_command(cmd);
59  }  }
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  /*  /*

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26