#include <string.h>
#include <errno.h>
#include <limits.h>
-#include <syslog.h>
#include "citadel.h"
#include "server.h"
}
+/*
+ * Add a property to a vCard
+ */
+void vcard_add_prop(struct vCard *v, char *propname, char *propvalue) {
+ ++v->numprops;
+ v->prop = reallok(v->prop,
+ (v->numprops * sizeof(char *) * 2) );
+ v->prop[v->numprops-1].name = strdoop(propname);
+ v->prop[v->numprops-1].value = strdoop(propvalue);
+}
+
+
+
/*
* Constructor (supply serialized vCard)
*/
}
-
-
/*
* Destructor
*/