userver
C++ Async Framework
Loading...
Searching...
No Matches
resources.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/utils/resources.hpp
4
/// @brief Functions to embed and retrieve blobs from binary
5
6
#
include
<
string
>
7
8
USERVER_NAMESPACE_BEGIN
9
10
namespace
utils {
11
12
/// Registeres a resource; used by `userver_embed_file` CMake function
13
void
RegisterResource
(std::string_view name, std::string_view value);
14
15
/// Returns a resource by name, registered by `userver_embed_file` CMake function (or RESOURCE() macro in some
16
/// other build systems)
17
std::string
FindResource
(std::string_view name);
18
19
}
// namespace utils
20
21
USERVER_NAMESPACE_END
userver
utils
resources.hpp
Generated on Fri Dec 5 2025 12:24:28 for userver by
Doxygen
1.13.2