uri-util.h revision 58833e210155643709c401db21b934304ad2125f
#ifndef URI_UTIL_H
#define URI_UTIL_H
#include "net.h"
/*
* Generic URI parsing.
*/
struct uri_authority {
const char *enc_userinfo;
const char *host_literal;
unsigned int have_host_ip:1;
unsigned int have_port:1;
};
struct uri_parser {
const char *error;
};
const char *const **path_r);
/*
* Generic URI construction
*/
#endif