MCPcopy Create free account
hub / github.com/apache/arrow / gaflight_call_options_foreach_header

Function gaflight_call_options_foreach_header

c_glib/arrow-flight-glib/client.cpp:346–357  ·  view source on GitHub ↗

* gaflight_call_options_foreach_header: * @options: A #GAFlightCallOptions. * @func: (scope call) (closure user_data): The user's callback function. * @user_data: Data for @func. * * Iterates over all headers in the options. * * Since: 9.0.0 */

Source from the content-addressed store, hash-verified

344 * Since: 9.0.0
345 */
346void
347gaflight_call_options_foreach_header(GAFlightCallOptions *options,
348 GAFlightHeaderFunc func,
349 gpointer user_data)
350{
351 auto flight_options = gaflight_call_options_get_raw(options);
352 for (const auto &header : flight_options->headers) {
353 auto &key = header.first;
354 auto &value = header.second;
355 func(key.c_str(), value.c_str(), user_data);
356 }
357}
358
359struct GAFlightClientOptionsPrivate
360{

Callers

nothing calls this directly

Calls 2

funcFunction · 0.50

Tested by

no test coverage detected