]> git.datanom.net - vcard-parser.git/blobdiff - src/vcard.h
Completed initialization
[vcard-parser.git] / src / vcard.h
index 12bbd76c4b32a2b52ffc849cce8bd86281500ba8..b5235278212ef877f92273f6f5ef1e47d91a0430 100644 (file)
  * MA 02110-1301, USA.
  */
 
-#ifndef __VCARD_PARSER_H__
-#define __VCARD_PARSER_H__
+#ifndef __VCARD_H__
+#define __VCARD_H__
 
 #include <glib.h>
 
 G_BEGIN_DECLS
 
 #include <stdio.h>
-#include <vcard-parser.h>
+#include <globals.h>
 
-typedef enum {
-       DETECT,
-       VERSION_2_1,
-       VERSION_3_0,
-       VERSION_4_0,
-} VCardVersion;
+//VCard* VCard_new(VCardVersion version);
+GSList* VCard_new_from_text(const gchar* text, VCardVersion version, gboolean skip_broken);
+GSList* VCard_new_from_file(FILE* file, VCardVersion version, gboolean skip_broken);
+void VCard_free(VCard* object);
+void VCard_list_free(GSList* list);
 
-typedef struct _VCard VCard;
-
-VCard* VCard_new(VCardVersion version);
-VCard* VCard_new_from_text(const gchar* text, VCardVersion version);
-VCard* VCard_new_from_file(FILE* file, VCardVersion version);
+void VCard_print_list(GSList* list);
+void VCard_print_list_fd(GSList* list, int fd);
 void VCard_print(VCard* object);
 void VCard_print_fd(VCard* object, int fd);
+gchar* VCard_get_state(VCard* object);
+GSList* VCard_get_property(VCard* object, const gchar* property);
 
 G_END_DECLS
 
This page took 0.037515 seconds and 5 git commands to generate.