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

Method ResetValue

src/common/requiresqueue.cpp:309–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307
308
309void RequiresQueue::ResetValue(ClientAttentionType type,
310 ClientAttentionGroup group,
311 uint32_t id)
312{
313 for (auto &e : slots)
314 {
315 if (e.type == type && e.group == group && e.id == id)
316 {
317 e.provided = false;
318 e.value = "";
319 return;
320 }
321 }
322 throw RequiresQueueException("No matching entry found in the request queue");
323}
324
325
326const std::string RequiresQueue::GetResponse(ClientAttentionType type,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected