Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| #ifndef CUSTOMER_H | |
| #define CUSTOMER_H | |
| #include "Address.h" | |
| /* | |
| A pointer to an incomplete type (hides the implementation details). | |
| */ | |
| typedef struct Customer* CustomerPtr; | |
| /* | |
| Create a Customer and return a handle to it. | |
| */ | |
| CustomerPtr createCustomer( | |
| const char* name, | |
| const Address* address); | |
| /* | |
| Destroy the given Customer object. | |
| All handles to it will be invalidated. | |
| */ | |
| void destroyCustomer( | |
| CustomerPtr customer); | |
| #endif |