]> git.datanom.net - vcard-parser.git/blobdiff - src/parser/vcard-parser.h
All features added
[vcard-parser.git] / src / parser / vcard-parser.h
index d812ab8a01c70d4e6ba8fee91dd8a678ad2f9e74..b8d30f9909aac7ddb53866a7d51cc215683e143a 100644 (file)
@@ -27,6 +27,7 @@
 G_BEGIN_DECLS
 
 #include <globals.h>
 G_BEGIN_DECLS
 
 #include <globals.h>
+#include <vcard.h>
 
 typedef enum {
        // vCard 2.1 properties and up
 
 typedef enum {
        // vCard 2.1 properties and up
@@ -102,16 +103,11 @@ typedef enum {
        VCARD_PARSER_ERROR,
 } VCardParserResponse;
 
        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);
 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
 void destroy_hash_table(GHashTable* ht);
 
 G_END_DECLS
This page took 0.449541 seconds and 5 git commands to generate.