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

Method QueueFetch

src/dbus/requiresqueue-proxy.hpp:138–148  ·  view source on GitHub ↗

* C++ method to use to fetch a specific RequiresQueue slot. * * @param destslot The return buffer where the retrieved information * will be saved. Must be pre-allocated before calling * this method. * @param type ClientAttentionType of the slot to retrieve * @param group ClientAttentionGroup of the slot to retrieve

Source from the content-addressed store, hash-verified

136 * @param id Unsigned int of the slot ID to retrieve
137 */
138 struct RequiresSlot QueueFetch(ClientAttentionType type,
139 ClientAttentionGroup group,
140 uint32_t id)
141 {
142 GVariant *slot = proxy->Call(target,
143 method_queuefetch,
144 g_variant_new("(uuu)", type, group, id));
145 struct RequiresSlot ret = deserialize(slot);
146 g_variant_unref(slot);
147 return ret;
148 }
149
150
151 /**

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 2

mainFunction · 0.64
mainFunction · 0.64