Added contact module

This commit is contained in:
James Booth
2012-05-04 01:00:01 +01:00
parent 30dbbad544
commit 6e46e8fec0
7 changed files with 189 additions and 147 deletions

13
contact.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef CONTACT_H
#define CONTACT_H
typedef struct p_contact_t *PContact;
PContact p_contact_new(const char * const name, const char * const show,
const char * const status);
void p_contact_free(PContact contact);
char * p_contact_name(PContact contact);
char * p_contact_show(PContact contact);
char * p_contact_status(PContact contact);
#endif