Lines Matching defs:host

107                                    char **address, struct hostname *host);
534 either the local address or host name parts. This is regardless of
535 whether the host name is encoded using IDN ACE */
540 struct hostname host = { NULL, NULL, NULL, NULL };
542 /* Parse the mailbox to verify into the local address and host name
543 parts, converting the host name to an IDN A-label if necessary */
545 &address, &host);
552 ((host.encalloc) || (!Curl_is_ASCII_name(address)) ||
553 (!Curl_is_ASCII_name(host.name)));
555 /* Send the VRFY command (Note: The host name part may be absent when the
556 host is a local system) */
559 host.name ? "@" : "",
560 host.name ? host.name : "",
563 Curl_free_idnconverted_hostname(&host);
607 either the local address or host name parts. This is regardless of
608 whether the host name is encoded using IDN ACE */
614 struct hostname host = { NULL, NULL, NULL, NULL };
616 /* Parse the FROM mailbox into the local address and host name parts,
617 converting the host name to an IDN A-label if necessary */
619 &address, &host);
626 ((host.encalloc) || (!Curl_is_ASCII_name(address)) ||
627 (!Curl_is_ASCII_name(host.name)));
629 if(host.name) {
630 from = aprintf("<%s@%s>", address, host.name);
632 Curl_free_idnconverted_hostname(&host);
652 struct hostname host = { NULL, NULL, NULL, NULL };
654 /* Parse the AUTH mailbox into the local address and host name parts,
655 converting the host name to an IDN A-label if necessary */
657 &address, &host);
666 ((host.encalloc) || (!Curl_is_ASCII_name(address)) ||
667 (!Curl_is_ASCII_name(host.name))))
670 if(host.name) {
671 auth = aprintf("<%s@%s>", address, host.name);
673 Curl_free_idnconverted_hostname(&host);
747 /* Does the host name contain non-ASCII characters? */
789 struct hostname host = { NULL, NULL, NULL, NULL };
791 /* Parse the recipient mailbox into the local address and host name parts,
792 converting the host name to an IDN A-label if necessary */
794 &address, &host);
799 if(host.name)
801 address, host.name);
808 Curl_free_idnconverted_hostname(&host);
1624 * remote host.
1754 * host name, converting the host name to an IDN A-label, as per RFC-5890, if
1765 * host [in/out] - The host name structure that holds the original,
1766 * and optionally encoded, host name.
1774 * Should a UTF-8 host name require conversion to IDN ACE and we cannot honor
1781 * the address part with the host name being NULL.
1784 struct hostname *host)
1801 /* Extract the host name from the address (if we can) */
1802 host->name = strpbrk(dup, "@");
1803 if(host->name) {
1804 *host->name = '\0';
1805 host->name = host->name + 1;
1807 /* Attempt to convert the host name to IDN ACE */
1808 (void) Curl_idnconvert_hostname(host);
1811 and send the host name using UTF-8 rather than as 7-bit ACE (which is