Constructor

ArrowFlightEndpointnew

since: 5.0.0

Declaration [src]

GAFlightEndpoint*
gaflight_endpoint_new (
  GAFlightTicket* ticket,
  GList* locations
)

Description

No description available.

Available since: 5.0.0

Parameters

ticket

Type: GAFlightTicket

A GAFlightTicket.

The data is owned by the caller of the function.
locations

Type: A list of GAFlightLocation*

A list of GAFlightLocation.

The data is owned by the caller of the function.

Return value

Type: GAFlightEndpoint

The newly created GAFlightEndpoint, NULL on error.

The caller of the function takes ownership of the data, and is responsible for freeing it.