]> git.datanom.net - vcard-parser.git/blame - src/vcard.h
Completed initialization
[vcard-parser.git] / src / vcard.h
CommitLineData
aa039bee
MR
1/*
2 * vcard.h
3 *
4 * Copyright 2019 Michael Rasmussen <mir@datanom.net>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 */
21
0d68a955
MR
22#ifndef __VCARD_H__
23#define __VCARD_H__
aa039bee
MR
24
25#include <glib.h>
26
27G_BEGIN_DECLS
28
29#include <stdio.h>
0d68a955 30#include <globals.h>
aa039bee 31
0d68a955
MR
32//VCard* VCard_new(VCardVersion version);
33GSList* VCard_new_from_text(const gchar* text, VCardVersion version, gboolean skip_broken);
34GSList* VCard_new_from_file(FILE* file, VCardVersion version, gboolean skip_broken);
35void VCard_free(VCard* object);
36void VCard_list_free(GSList* list);
aa039bee 37
0d68a955
MR
38void VCard_print_list(GSList* list);
39void VCard_print_list_fd(GSList* list, int fd);
aa039bee
MR
40void VCard_print(VCard* object);
41void VCard_print_fd(VCard* object, int fd);
0d68a955
MR
42gchar* VCard_get_state(VCard* object);
43GSList* VCard_get_property(VCard* object, const gchar* property);
aa039bee
MR
44
45G_END_DECLS
46
47#endif
This page took 0.033922 seconds and 5 git commands to generate.