Blame


1 d65a88a2 2021-09-05 stsp /*
2 d65a88a2 2021-09-05 stsp * Copyright (c) 2021 Stefan Sperling <stsp@openbsd.org>
3 d65a88a2 2021-09-05 stsp *
4 d65a88a2 2021-09-05 stsp * Permission to use, copy, modify, and distribute this software for any
5 d65a88a2 2021-09-05 stsp * purpose with or without fee is hereby granted, provided that the above
6 d65a88a2 2021-09-05 stsp * copyright notice and this permission notice appear in all copies.
7 d65a88a2 2021-09-05 stsp *
8 d65a88a2 2021-09-05 stsp * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 d65a88a2 2021-09-05 stsp * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 d65a88a2 2021-09-05 stsp * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 d65a88a2 2021-09-05 stsp * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 d65a88a2 2021-09-05 stsp * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 d65a88a2 2021-09-05 stsp * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 d65a88a2 2021-09-05 stsp * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 d65a88a2 2021-09-05 stsp */
16 d65a88a2 2021-09-05 stsp
17 d65a88a2 2021-09-05 stsp const struct got_error *got_dial_apply_unveil(const char *proto);
18 5e5da8c4 2021-09-05 stsp const struct got_error *got_dial_parse_uri(char **proto, char **host,
19 5e5da8c4 2021-09-05 stsp char **port, char **server_path, char **repo_name, const char *uri);