Lines Matching defs:host
26 struct uri_host host;
79 character is not valid for a host name, and -1 in case of error. The
81 checking the presence of a valid host name. The result is allocated from
86 /* parse the URI 'reg-name' part as an Internet host name, which is a
89 successful, 0 if the first character is not valid for a host name,
91 to use this function for merely checking the presence of a valid host
96 /* parse the URI 'host' syntax, which is either an IP address literal or
97 a an Internet host name, as defined in Section 3.5 of RFC 1034 and
100 host name, and -1 in case of error. The provided host struct is filled
101 in with the parsed data, all allocated from the parser pool. The host
103 valid 'host' syntax.
106 struct uri_host *host) ATTR_NULL(2);
123 the registered name ('reg-name' syntax) as an Internet host name, as
130 host name, as defined in Section 3.5 of RFC 1034 and Section 2.1 of
242 /* append the host name to the out buffer. Characters are percent-encoded
245 /* append the host IP address to the out buffer. */
247 /* encode the URI host struct to the out buffer. */
248 void uri_append_host(string_t *out, const struct uri_host *host);