X-Git-Url: http://git.datanom.net/vcard-parser.git/blobdiff_plain/c33ca4d81ed99f670f87ee9d9794fbddc592e173..d4b85e4731a7305ab6a57fea45796fc90ae76e39:/src/parser/vcard-parser.h diff --git a/src/parser/vcard-parser.h b/src/parser/vcard-parser.h index d812ab8..b8d30f9 100644 --- a/src/parser/vcard-parser.h +++ b/src/parser/vcard-parser.h @@ -27,6 +27,7 @@ G_BEGIN_DECLS #include +#include typedef enum { // vCard 2.1 properties and up @@ -102,16 +103,11 @@ typedef enum { 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