curl-fuzzer C++ reference
Loading...
Searching...
No Matches
ipfs_url.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Max Dymond, <cmeister2@gmail.com>, et al.
3 *
4 * SPDX-License-Identifier: curl
5 */
6
10
11#ifndef PROTO_FUZZER_IPFS_URL_H_
12#define PROTO_FUZZER_IPFS_URL_H_
13
14#include <string>
15
16#include "curl_fuzzer.pb.h"
17
18namespace proto_fuzzer {
19
20std::string BuildIpfsGatewayUrl(curl::fuzzer::proto::Scheme scheme, const std::string& host_path);
21
22} // namespace proto_fuzzer
23
24#endif // PROTO_FUZZER_IPFS_URL_H_
std::string BuildIpfsGatewayUrl(curl::fuzzer::proto::Scheme scheme, const std::string &host_path)
Build the IPFS/IPNS gateway URL for the given scheme and pinned host_path.
Definition ipfs_url.cc:99