#include "tm.h"
#include "types.h"
Go to the source code of this file.
|
#define | RESERVATION_INFO_ALLOC(type, id, price) reservation_info_alloc(TM_ARG type, id, price) |
|
#define | RESERVATION_INFO_FREE(r) reservation_info_free(TM_ARG r) |
|
#define | RESERVATION_ALLOC(id, price, tot) reservation_alloc(TM_ARG id, price, tot) |
|
#define | RESERVATION_ADD_TO_TOTAL(r, num) reservation_addToTotal(TM_ARG r, num) |
|
#define | RESERVATION_MAKE(r) reservation_make(TM_ARG r) |
|
#define | RESERVATION_CANCEL(r) reservation_cancel(TM_ARG r) |
|
#define | RESERVATION_UPDATE_PRICE(r, price) reservation_updatePrice(TM_ARG r, price) |
|
#define | RESERVATION_FREE(r) reservation_free(TM_ARG r) |
|
|
TM_CALLABLE reservation_info_t * | reservation_info_alloc (TM_ARGDECL reservation_type_t type, long id, long price) |
|
TM_CALLABLE void | reservation_info_free (TM_ARGDECL reservation_info_t *reservationInfoPtr) |
|
TM_CALLABLE long | reservation_info_compare (reservation_info_t *aPtr, reservation_info_t *bPtr) |
|
TM_CALLABLE reservation_t * | reservation_alloc (TM_ARGDECL long id, long price, long numTotal) |
|
reservation_t * | reservation_alloc_seq (long id, long price, long numTotal) |
|
TM_CALLABLE bool_t | reservation_addToTotal (TM_ARGDECL reservation_t *reservationPtr, long num) |
|
bool_t | reservation_addToTotal_seq (reservation_t *reservationPtr, long num) |
|
TM_CALLABLE bool_t | reservation_make (TM_ARGDECL reservation_t *reservationPtr) |
|
bool_t | reservation_make_seq (reservation_t *reservationPtr) |
|
TM_CALLABLE bool_t | reservation_cancel (TM_ARGDECL reservation_t *reservationPtr) |
|
bool_t | reservation_cancel_seq (reservation_t *reservationPtr) |
|
TM_CALLABLE bool_t | reservation_updatePrice (TM_ARGDECL reservation_t *reservationPtr, long newPrice) |
|
bool_t | reservation_updatePrice_seq (reservation_t *reservationPtr, long newPrice) |
|
long | reservation_compare (reservation_t *aPtr, reservation_t *bPtr) |
|
ulong_t | reservation_hash (reservation_t *reservationPtr) |
|
TM_CALLABLE void | reservation_free (TM_ARGDECL reservation_t *reservationPtr) |
|
Enumerator |
---|
RESERVATION_CAR |
|
RESERVATION_FLIGHT |
|
RESERVATION_ROOM |
|
NUM_RESERVATION_TYPE |
|
reservation_t* reservation_alloc_seq |
( |
long |
id, |
|
|
long |
price, |
|
|
long |
numTotal |
|
) |
| |