]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_http_client_curl.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / rgw / rgw_http_client_curl.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab ft=cpp
3
4 /*
5 * Ceph - scalable distributed file system
6 *
7 * Copyright (C) 2018 SUSE Linux GmBH
8 *
9 * This is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License version 2.1, as published by the Free Software
12 * Foundation. See file COPYING.
13 *
14 */
15
16 #pragma once
17
18 #include <map>
19 #include <boost/optional.hpp>
20 #include "rgw_frontend.h"
21
22 namespace rgw {
23 namespace curl {
24 using fe_map_t = std::multimap <std::string, RGWFrontendConfig *>;
25
26 void setup_curl(boost::optional<const fe_map_t&> m);
27 void cleanup_curl();
28 }
29 }