http-url.h revision 5394bed8aaef2a6c1c870a34a23a7824e1f370bb
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch /* ?query (still encoded) */
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch /* #fragment (still encoded) */
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch unsigned int have_host_ip:1; /* URL uses IP address */
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch * HTTP URL parsing
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch /* Scheme part 'http:' is already parsed externally. This implies that
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch this is an absolute HTTP URL. */
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch /* Allow '#fragment' part in URL */
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschint http_url_parse(const char *url, struct http_url *base,
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch struct http_url **url_r, const char **error_r);
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch * HTTP URL construction
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschconst char *http_url_create(const struct http_url *url);