#ifndef FLIGHTS_H #define FLIGHTS_H #include #include "timeHM.h" typedef struct flightSys flightSys_t; typedef struct airport airport_t; flightSys_t* createSystem(); void deleteSystem(flightSys_t* s); void addAirport(flightSys_t* s, char* name); airport_t* getAirport(flightSys_t* s, char* name); void printAirports(flightSys_t* s); void addFlight(airport_t* src, airport_t* dst, timeHM_t* departure, timeHM_t* arrival, int cost); void printSchedule(airport_t* s); bool getNextFlight(airport_t* src, airport_t* dst, timeHM_t* now, timeHM_t* departure, timeHM_t* arrival, int* cost); #endif