Lines Matching defs:mailbox

655     /* Make sure the mailbox is in the correct atom format if necessary */
656 char *mailbox = imap->mailbox ? imap_atom(imap->mailbox, true)
658 if(!mailbox)
662 result = imap_sendf(data, "LIST \"%s\" *", mailbox);
664 free(mailbox);
677 * Sends a SELECT command to ask the server to change the selected mailbox.
685 char *mailbox;
688 Curl_safefree(imapc->mailbox);
691 /* Check we have a mailbox */
692 if(!imap->mailbox) {
693 failf(data, "Cannot SELECT without a mailbox.");
697 /* Make sure the mailbox is in the correct atom format */
698 mailbox = imap_atom(imap->mailbox, false);
699 if(!mailbox)
703 result = imap_sendf(data, "SELECT %s", mailbox);
705 free(mailbox);
765 char *mailbox;
767 /* Check we have a mailbox */
768 if(!imap->mailbox) {
769 failf(data, "Cannot APPEND without a mailbox.");
808 /* Make sure the mailbox is in the correct atom format */
809 mailbox = imap_atom(imap->mailbox, false);
810 if(!mailbox)
816 mailbox, data->state.infilesize);
818 free(mailbox);
1114 /* Note the currently opened mailbox on this connection */
1115 DEBUGASSERT(!imapc->mailbox);
1116 imapc->mailbox = strdup(imap->mailbox);
1117 if(!imapc->mailbox)
1534 Curl_safefree(imap->mailbox);
1576 /* Determine if the requested mailbox (with the same UIDVALIDITY if set)
1578 if(imap->mailbox && imapc->mailbox &&
1579 strcasecompare(imap->mailbox, imapc->mailbox) &&
1588 else if(imap->custom && (selected || !imap->mailbox))
1589 /* Custom command using the same mailbox or no mailbox */
1592 /* FETCH from the same mailbox */
1595 /* SEARCH the current mailbox */
1597 else if(imap->mailbox && !selected &&
1599 /* SELECT the mailbox */
1680 Curl_safefree(imapc->mailbox);
1971 result = Curl_urldecode(begin, end - begin, &imap->mailbox, NULL,
1977 imap->mailbox = NULL;
2064 /* Does the URL contain a query parameter? Only valid when we have a mailbox
2066 if(imap->mailbox && !imap->uid && !imap->mindex) {