]> code.citadel.org Git - citadel.git/blob - citadel/vcard.h
* The vCard 'class' is now linked into the server, though it's not really
[citadel.git] / citadel / vcard.h
1 /*
2  * $Id$
3  *
4  * vCard implementation for Citadel/UX
5  *
6  * Copyright (C) 1999 by Art Cancro
7  * This code is freely redistributable under the terms of the GNU General
8  * Public License.  All other rights reserved.
9  */
10
11
12 #define CTDL_VCARD_MAGIC        0xa1f9
13
14 /*
15  * This data structure represents a vCard object currently in memory.
16  */
17 struct vCard {
18         int magic;
19         int numprops;
20         struct vCardProp {
21                 char *name;
22                 char *value;
23         } *prop;
24 };
25
26
27 struct vCard *new_vcard(void);
28 struct vCard *load_vcard(char *);
29 void free_vcard(struct vCard *);