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

Function gaflight_info_get_endpoints

c_glib/arrow-flight-glib/common.cpp:1028–1038  ·  view source on GitHub ↗

* gaflight_info_get_endpoints: * @info: A #GAFlightInfo. * * Returns: (element-type GAFlightEndpoint) (transfer full): * The list of #GAFlightEndpoint of the information. * * Since: 5.0.0 */

Source from the content-addressed store, hash-verified

1026 * Since: 5.0.0
1027 */
1028GList *
1029gaflight_info_get_endpoints(GAFlightInfo *info)
1030{
1031 const auto flight_info = gaflight_info_get_raw(info);
1032 GList *endpoints = NULL;
1033 for (const auto &flight_endpoint : flight_info->endpoints()) {
1034 auto endpoint = gaflight_endpoint_new_raw(&flight_endpoint, nullptr);
1035 endpoints = g_list_prepend(endpoints, endpoint);
1036 }
1037 return g_list_reverse(endpoints);
1038}
1039
1040/**
1041 * gaflight_info_get_total_records:

Callers

nothing calls this directly

Calls 2

gaflight_info_get_rawFunction · 0.85

Tested by

no test coverage detected