tlds
Transactional Operations for Linked Data Structures
|
Go to the source code of this file.
Classes | |
struct | customer |
Macros | |
#define | CUSTOMER_ALLOC(id) customer_alloc(TM_ARG id) |
#define | CUSTOMER_ADD_RESERVATION_INFO(cust, type, id, price) customer_addReservationInfo(TM_ARG cust, type, id, price) |
#define | CUSTOMER_REMOVE_RESERVATION_INFO(cust, type, id) customer_removeReservationInfo(TM_ARG cust, type, id) |
#define | CUSTOMER_GET_BILL(cust) customer_getBill(TM_ARG cust) |
#define | CUSTOMER_FREE(cust) customer_free(TM_ARG cust) |
Typedefs | |
typedef struct customer | customer_t |
Functions | |
TM_CALLABLE customer_t * | customer_alloc (TM_ARGDECL long id) |
customer_t * | customer_alloc_seq (long id) |
long | customer_compare (customer_t *aPtr, customer_t *bPtr) |
unsigned long | customer_hash (customer_t *customerPtr) |
TM_CALLABLE void | customer_free (TM_ARGDECL customer_t *customerPtr) |
TM_CALLABLE bool_t | customer_addReservationInfo (TM_ARGDECL customer_t *customerPtr, reservation_type_t type, long id, long price) |
bool_t | customer_addReservationInfo_seq (customer_t *customerPtr, reservation_type_t type, long id, long price) |
TM_CALLABLE bool_t | customer_removeReservationInfo (TM_ARGDECL customer_t *customerPtr, reservation_type_t type, long id) |
TM_CALLABLE long | customer_getBill (TM_ARGDECL customer_t *customerPtr) |
long | customer_getBill_seq (customer_t *customerPtr) |
#define CUSTOMER_ADD_RESERVATION_INFO | ( | cust, | |
type, | |||
id, | |||
price | |||
) | customer_addReservationInfo(TM_ARG cust, type, id, price) |
#define CUSTOMER_ALLOC | ( | id | ) | customer_alloc(TM_ARG id) |
#define CUSTOMER_FREE | ( | cust | ) | customer_free(TM_ARG cust) |
#define CUSTOMER_GET_BILL | ( | cust | ) | customer_getBill(TM_ARG cust) |
#define CUSTOMER_REMOVE_RESERVATION_INFO | ( | cust, | |
type, | |||
id | |||
) | customer_removeReservationInfo(TM_ARG cust, type, id) |
typedef struct customer customer_t |
TM_CALLABLE bool_t customer_addReservationInfo | ( | TM_ARGDECL customer_t * | customerPtr, |
reservation_type_t | type, | ||
long | id, | ||
long | price | ||
) |
bool_t customer_addReservationInfo_seq | ( | customer_t * | customerPtr, |
reservation_type_t | type, | ||
long | id, | ||
long | price | ||
) |
TM_CALLABLE customer_t* customer_alloc | ( | TM_ARGDECL long | id | ) |
customer_t* customer_alloc_seq | ( | long | id | ) |
long customer_compare | ( | customer_t * | aPtr, |
customer_t * | bPtr | ||
) |
TM_CALLABLE void customer_free | ( | TM_ARGDECL customer_t * | customerPtr | ) |
TM_CALLABLE long customer_getBill | ( | TM_ARGDECL customer_t * | customerPtr | ) |
long customer_getBill_seq | ( | customer_t * | customerPtr | ) |
unsigned long customer_hash | ( | customer_t * | customerPtr | ) |
TM_CALLABLE bool_t customer_removeReservationInfo | ( | TM_ARGDECL customer_t * | customerPtr, |
reservation_type_t | type, | ||
long | id | ||
) |