Constructor

ArrowFlightEndpointnew

Declaration [src]

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

Description

No description available.
Available since:5.0.0

Parameters

ticket GAFlightTicket
 

A GAFlightTicket.

 The data is owned by the caller of the function.
locations A list of GAFlightLocation*
 

A list of GAFlightLocation.

 The data is owned by the caller of the function.

Return value

Returns: GAFlightEndpoint
 

The newly created GAFlightEndpoint, NULL on error.

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