Lines Matching defs:auth
34 struct uri_authority auth;
38 if ((ret = uri_parse_host_authority(parser, &auth)) < 0)
40 if (auth.host.name == NULL || *auth.host.name == '\0') {
51 if (auth.enc_userinfo != NULL) {
69 p = strchr(auth.enc_userinfo, ':');
71 if (!uri_data_decode(parser, auth.enc_userinfo, NULL, &user))
74 if (!uri_data_decode(parser, auth.enc_userinfo, p, &user))
82 uri_host_copy(parser->pool, &url->host, &auth.host);
83 url->port = auth.port;
360 struct uri_authority auth;
367 if (uri_parse_host_authority(parser, &auth) <= 0) {
372 if (parser->cur != parser->end || auth.enc_userinfo != NULL) {
379 uri_host_copy(pool, &url->host, &auth.host);
380 url->port = auth.port;
387 base.host = auth.host;
388 base.port = auth.port;