]> git.datanom.net - vcard-parser.git/blob - src/curl/curllib.h
All features added
[vcard-parser.git] / src / curl / curllib.h
1 /*
2 * curllib.h
3 *
4 * Copyright 2016 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
22 #ifndef __CURLLIB_H__
23 #define __CURLLIB_H__
24
25 #include <glib.h>
26
27 G_BEGIN_DECLS
28
29 #include "globals.h"
30
31 gboolean curl_set_object(CarddavData* dav, VCard* vcard, GString* buf);
32 gchar* curl_get_etag(CarddavData* dav, const gchar* uid, GString* buf);
33 gboolean curl_update_object(CarddavData* dav, VCard* vcard, GString* buf);
34 gboolean curl_delete_object(CarddavData* dav, VCard* vcard, GString* buf);
35
36 gboolean curl_get_options(CarddavData* dav, GString* buf);
37 gboolean curl_get_displayname(CarddavData* dav, GString* buf);
38 gboolean curl_get_resource_type(CarddavData* dav);
39 CarddavData* curl_carddavdata_new();
40 void curl_carddavdata_free(CarddavData* dav);
41 const gchar* get_resource_type_name(CollectionType type);
42 gboolean curl_collection_dirty(CarddavData* dav);
43 gboolean curl_get_objects(CarddavData* dav, GString* buf);
44
45 G_END_DECLS
46
47 #endif
This page took 0.527771 seconds and 6 git commands to generate.