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

Method QueueCheck

src/common/requiresqueue.cpp:434–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432
433
434std::vector<uint32_t> RequiresQueue::QueueCheck(ClientAttentionType type,
435 ClientAttentionGroup group) const noexcept
436{
437 std::vector<uint32_t> ret;
438 for (auto &e : slots)
439 {
440 if (type == e.type
441 && group == e.group
442 && !e.provided)
443 {
444 ret.push_back(e.id);
445 }
446 }
447 callbacks.RunCallback(CallbackType::QUEUE_CHECK);
448 return ret;
449}
450
451
452GVariant *RequiresQueue::QueueCheckGVariant(GVariant *parameters) const noexcept

Callers 3

selftestFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

RunCallbackMethod · 0.80

Tested by 3

selftestFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36