|
static TM_CALLABLE long | queryNumFree (TM_ARGDECL MAP_T *tablePtr, long id) |
|
static TM_CALLABLE long | queryPrice (TM_ARGDECL MAP_T *tablePtr, long id) |
|
static TM_CALLABLE bool_t | reserve (TM_ARGDECL MAP_T *tablePtr, MAP_T *customerTablePtr, long customerId, long id, reservation_type_t type) |
|
static TM_CALLABLE bool_t | addReservation (TM_ARGDECL MAP_T *tablePtr, long id, long num, long price) |
|
static MAP_T * | tableAlloc () |
|
manager_t * | manager_alloc () |
|
static void | tableFree (MAP_T *mapPtr) |
|
void | manager_free (manager_t *managerPtr) |
|
static bool_t | addReservation_seq (MAP_T *tablePtr, long id, long num, long price) |
|
bool_t | manager_addCar (TM_ARGDECL manager_t *managerPtr, long carId, long numCars, long price) |
|
bool_t | manager_addCar_seq (manager_t *managerPtr, long carId, long numCars, long price) |
|
bool_t | manager_deleteCar (TM_ARGDECL manager_t *managerPtr, long carId, long numCar) |
|
bool_t | manager_addRoom (TM_ARGDECL manager_t *managerPtr, long roomId, long numRoom, long price) |
|
bool_t | manager_addRoom_seq (manager_t *managerPtr, long roomId, long numRoom, long price) |
|
bool_t | manager_deleteRoom (TM_ARGDECL manager_t *managerPtr, long roomId, long numRoom) |
|
bool_t | manager_addFlight (TM_ARGDECL manager_t *managerPtr, long flightId, long numSeat, long price) |
|
bool_t | manager_addFlight_seq (manager_t *managerPtr, long flightId, long numSeat, long price) |
|
bool_t | manager_deleteFlight (TM_ARGDECL manager_t *managerPtr, long flightId) |
|
bool_t | manager_addCustomer (TM_ARGDECL manager_t *managerPtr, long customerId) |
|
bool_t | manager_addCustomer_seq (manager_t *managerPtr, long customerId) |
|
bool_t | manager_deleteCustomer (TM_ARGDECL manager_t *managerPtr, long customerId) |
|
long | manager_queryCar (TM_ARGDECL manager_t *managerPtr, long carId) |
|
long | manager_queryCarPrice (TM_ARGDECL manager_t *managerPtr, long carId) |
|
long | manager_queryRoom (TM_ARGDECL manager_t *managerPtr, long roomId) |
|
long | manager_queryRoomPrice (TM_ARGDECL manager_t *managerPtr, long roomId) |
|
long | manager_queryFlight (TM_ARGDECL manager_t *managerPtr, long flightId) |
|
long | manager_queryFlightPrice (TM_ARGDECL manager_t *managerPtr, long flightId) |
|
long | manager_queryCustomerBill (TM_ARGDECL manager_t *managerPtr, long customerId) |
|
bool_t | manager_reserveCar (TM_ARGDECL manager_t *managerPtr, long customerId, long carId) |
|
bool_t | manager_reserveRoom (TM_ARGDECL manager_t *managerPtr, long customerId, long roomId) |
|
bool_t | manager_reserveFlight (TM_ARGDECL manager_t *managerPtr, long customerId, long flightId) |
|
static TM_CALLABLE bool_t | cancel (TM_ARGDECL MAP_T *tablePtr, MAP_T *customerTablePtr, long customerId, long id, reservation_type_t type) |
|
bool_t | manager_cancelCar (TM_ARGDECL manager_t *managerPtr, long customerId, long carId) |
|
bool_t | manager_cancelRoom (TM_ARGDECL manager_t *managerPtr, long customerId, long roomId) |
|
bool_t | manager_cancelFlight (TM_ARGDECL manager_t *managerPtr, long customerId, long flightId) |
|