OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
eagine
message_bus
resources.hpp
Go to the documentation of this file.
1
9
#ifndef EAGINE_MESSAGE_BUS_RESOURCES_HPP
10
#define EAGINE_MESSAGE_BUS_RESOURCES_HPP
11
12
#include "../resources.hpp"
13
14
namespace
eagine::msgbus
{
15
//------------------------------------------------------------------------------
16
auto
router_certificate_pem(
17
memory::const_block
embedded_blk,
18
memory::buffer&,
19
application_config&,
20
logger&) ->
memory::const_block
;
21
//------------------------------------------------------------------------------
22
inline
auto
23
router_certificate_pem(
memory::const_block
embedded_blk, main_ctx& ctx)
24
->
memory::const_block
{
25
return
router_certificate_pem(
26
embedded_blk, ctx.scratch_space(), ctx.config(), ctx.log());
27
}
28
//------------------------------------------------------------------------------
29
auto
bridge_certificate_pem(
30
memory::const_block
embedded_blk,
31
memory::buffer&,
32
application_config&,
33
logger&) ->
memory::const_block
;
34
//------------------------------------------------------------------------------
35
inline
auto
36
bridge_certificate_pem(
memory::const_block
embedded_blk, main_ctx& ctx)
37
->
memory::const_block
{
38
return
bridge_certificate_pem(
39
embedded_blk, ctx.scratch_space(), ctx.config(), ctx.log());
40
}
41
//------------------------------------------------------------------------------
42
auto
endpoint_certificate_pem(
43
memory::const_block
embedded_blk,
44
memory::buffer&,
45
application_config&,
46
logger&) ->
memory::const_block
;
47
//------------------------------------------------------------------------------
48
inline
auto
49
endpoint_certificate_pem(
memory::const_block
embedded_blk, main_ctx& ctx)
50
->
memory::const_block
{
51
return
endpoint_certificate_pem(
52
embedded_blk, ctx.scratch_space(), ctx.config(), ctx.log());
53
}
54
//------------------------------------------------------------------------------
55
}
// namespace eagine::msgbus
56
57
#if !EAGINE_LINK_LIBRARY || defined(EAGINE_IMPLEMENTING_LIBRARY)
58
#include <eagine/message_bus/resources.inl>
59
#endif
60
61
#endif // EAGINE_MESSAGE_BUS_RESOURCES_HPP
eagine::memory::const_block
basic_block< true > const_block
Alias for const byte memory span.
Definition:
block.hpp:32
eagine::msgbus
Message bus code is placed in this namespace.
Definition:
eagine.hpp:58
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).