When opening the Berkeley DB environment, step
[citadel.git] / citadel / vcard.h
index f3713ca9988d4499833bb7f19d22477190324009..077c34345853ee1331ae453705c6bddf2f469717 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * vCard implementation for Citadel/UX
+ * vCard implementation for Citadel
  *
  * Copyright (C) 1999 by Art Cancro
  * This code is freely redistributable under the terms of the GNU General
@@ -24,6 +24,12 @@ struct vCard {
 };
 
 
-struct vCard *new_vcard(void);
-struct vCard *load_vcard(char *);
-void free_vcard(struct vCard *);
+struct vCard *vcard_new(void);
+void vcard_add_prop(struct vCard *v, char *propname, char *propvalue);
+struct vCard *vcard_load(char *);
+void vcard_free(struct vCard *);
+void vcard_set_prop(struct vCard *v, char *name, char *value, int append);
+char *vcard_get_prop(struct vCard *v, char *propname, int is_partial,
+                       int instance, int return_propname);
+char *vcard_serialize(struct vCard *);
+void vcard_fn_to_n(char *vname, char *n, size_t vname_size);