MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / AddCallback

Method AddCallback

src/common/requiresqueue.cpp:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79void RequiresQueue::Callbacks::AddCallback(const CallbackType type, CBFunction func)
80{
81 collection[type] = std::move(func);
82}
83
84
85void RequiresQueue::Callbacks::RunCallback(const CallbackType type) const

Callers 2

BackendClientObjectMethod · 0.80
ReqQueueMainMethod · 0.80

Calls

no outgoing calls

Tested by 1

ReqQueueMainMethod · 0.64