Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 442 Bytes
#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