pornsieve  0.0.0
Search porn sites and filter the results using regular expressions
config.hpp
Go to the documentation of this file.
1 /* This file is part of pornsieve.
2  * Copyright © 2021 tastytea <tastytea@tastytea.de>
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Affero General Public License as published by
6  * the Free Software Foundation, version 3.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Affero General Public License for more details.
12  *
13  * You should have received a copy of the GNU Affero General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
23 #ifndef PORNSIEVE_CONFIG_HPP
24 #define PORNSIEVE_CONFIG_HPP
25 
26 #include <curl/curl.h>
27 
28 #include <string>
29 
30 namespace pornsieve
31 {
32 
33 namespace config
34 {
35 
45 inline std::string proxy{};
46 
47 } // namespace config
48 
59 void configure_curl(CURL *curl_easy_handle);
60 
61 } // namespace pornsieve
62 
63 #endif // PORNSIEVE_CONFIG_HPP
pornsieve
The namespace containing the pornsieve library.
Definition: config.hpp:30
pornsieve::configure_curl
void configure_curl(CURL *curl_easy_handle)
Set some options for curl connections.
Definition: config.cpp:31
pornsieve::config::proxy
std::string proxy
Proxy server to use.
Definition: config.hpp:45