Lines Matching refs:custom
286 if((!imap->custom && !imap_matchresp(line, len, "LIST")) ||
287 (imap->custom && !imap_matchresp(line, len, imap->custom) &&
288 (!strcasecompare(imap->custom, "STORE") ||
290 !strcasecompare(imap->custom, "SELECT") &&
291 !strcasecompare(imap->custom, "EXAMINE") &&
292 !strcasecompare(imap->custom, "SEARCH") &&
293 !strcasecompare(imap->custom, "EXPUNGE") &&
294 !strcasecompare(imap->custom, "LSUB") &&
295 !strcasecompare(imap->custom, "UID") &&
296 !strcasecompare(imap->custom, "GETQUOTAROOT") &&
297 !strcasecompare(imap->custom, "NOOP")))
329 if(imap && !imap->custom && ((len == 3 && line[0] == '+') ||
643 * Sends a LIST command or an alternative custom request.
650 if(imap->custom)
651 /* Send the custom request */
652 result = imap_sendf(data, "%s%s", imap->custom,
1120 if(imap->custom)
1514 else if(!data->set.connect_only && !imap->custom &&
1541 Curl_safefree(imap->custom);
1588 else if(imap->custom && (selected || !imap->mailbox))
1591 else if(!imap->custom && selected && (imap->uid || imap->mindex))
1594 else if(!imap->custom && selected && imap->query)
1598 (imap->custom || imap->uid || imap->mindex || imap->query))
1638 /* Parse the custom request */
2083 * Parse the custom request.
2089 const char *custom = data->set.str[STRING_CUSTOMREQUEST];
2091 if(custom) {
2092 /* URL decode the custom request */
2093 result = Curl_urldecode(custom, 0, &imap->custom, NULL, REJECT_CTRL);
2097 const char *params = imap->custom;
2104 imap->custom[params - imap->custom] = '\0';