Lines Matching defs:url
48 int http_url_parse(const char *url, struct http_url *base,
60 static inline in_port_t http_url_get_port_default(const struct http_url *url,
63 return (url->port != 0 ? url->port : default_port);
66 static inline in_port_t http_url_get_port(const struct http_url *url)
68 return http_url_get_port_default(url,
69 (url->have_ssl ? HTTPS_DEFAULT_PORT : HTTP_DEFAULT_PORT));
94 const char *http_url_create(const struct http_url *url);
96 const char *http_url_create_host(const struct http_url *url);
97 const char *http_url_create_authority(const struct http_url *url);
98 const char *http_url_create_target(const struct http_url *url);