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

Function dump_requires_slot

src/tests/dbus/request-queue-client2.cpp:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25void dump_requires_slot(ClientAttentionType type, ClientAttentionGroup group, struct RequiresSlot &reqdata)
26{
27 unsigned int t = (unsigned int)type;
28 unsigned int g = (unsigned int)group;
29
30 std::cout << " Type: [" << std::to_string(t) << "] " << ClientAttentionType_str[t] << std::endl
31 << " Group: [" << std::to_string(g) << "] " << ClientAttentionGroup_str[g] << std::endl
32 << " Id: " << reqdata.id << std::endl
33 << " Name: " << reqdata.name << std::endl
34 << " Value: " << reqdata.value << std::endl
35 << " Description: " << reqdata.user_description << std::endl
36 << " Provided: " << (reqdata.provided ? "True" : "False") << std::endl
37 << "------------------------------------------------------------" << std::endl;
38}
39
40
41

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected