3 * Copyright (C) 1999 by Art Cancro
4 * This code is freely redistributable under the terms of the GNU General
5 * Public License. All other rights reserved.
8 * \defgroup VcardHeader vCard implementation for Citadel
9 * \ingroup WebcitDisplayItems
14 #define CTDL_VCARD_MAGIC 0xa1f9 /**< magic byte vcards start with??? */
17 * \brief This data structure represents a vCard object currently in memory.
20 int magic; /**< the Magic Byte */
21 int numprops; /**< number of properties this vcard will have */
23 char *name; /**< Keyname of the property */
24 char *value; /**< value of the property */
25 } *prop; /**< Vcard Property. Linked list??? */
29 struct vCard *vcard_new(void);
30 struct vCard *vcard_load(char *);
31 void vcard_free(struct vCard *);
32 void vcard_set_prop(struct vCard *v, char *name, char *value, int append);
33 char *vcard_get_prop(struct vCard *v, char *propname, int is_partial,
34 int instance, int return_propname);
35 char *vcard_serialize(struct vCard *);