]> git.datanom.net - vcard-parser.git/blobdiff - src/parser/globals.h
All features added
[vcard-parser.git] / src / parser / globals.h
index eefb5aca76f22af809b67148fc82b367e8f354b7..2dc6f251562612e4a0d62e0fcf139465b4b80abb 100644 (file)
@@ -52,8 +52,42 @@ typedef struct {
        gboolean debug;
        gboolean mkcol;
        CollectionType type;
+       gchar* etag;
 } CarddavData;
 
+typedef enum {
+       TEL_DEFAULT,
+       TEL_HOME,
+       TEL_WORK,
+       TEL_MOBIL
+} TelefonType;
+
+typedef enum {
+       ADDR_DEFAULT,
+       ADDR_HOME,
+       ADDR_WORK,
+       ADDR_OTHER
+} AddressType;
+
+typedef enum {
+       PHOTO_DEFAULT,
+       PHOTO_GIF,
+       PHOTO_PNG,
+       PHOTO_JPG
+} PhotoType;
+
+typedef enum {
+       EMAIL_DEFAULT,
+       EMAIL_HOME,
+       EMAIL_WORK,
+       EMAIL_OTHER
+} EmailType;
+
+typedef struct {
+       gchar* name;
+       gchar* value;
+} VCardProperty;
+
 G_END_DECLS
 
 #endif
This page took 0.169781 seconds and 5 git commands to generate.