G_BEGIN_DECLS
#include <globals.h>
+#include <vcard.h>
typedef enum {
// vCard 2.1 properties and up
VCARD_PARSER_ERROR,
} VCardParserResponse;
-typedef struct {
- gchar* name;
- gchar* value;
-} VCardProperty;
-
VCardVersion str_2_vcard_version(const gchar* version);
gchar* vcard_version_2_str(VCardVersion version);
Property vcard_max_property(VCardVersion version);
VCardParserResponse vcard_parse_text(const gchar* text, VCardVersion* version, GHashTable** vcard);
-void init_g_hash_table(GHashTable** ht, VCardVersion version);
+GHashTable* init_g_hash_table(VCardVersion version);
void destroy_hash_table(GHashTable* ht);
G_END_DECLS