Contents of /trunk/src/net_io.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 169 - (hide annotations)
Tue Apr 28 09:10:17 2009 UTC (15 years ago) by harbaum
File MIME type: text/plain
File size: 1071 byte(s)
Honour gconf proxy settings
1 harbaum 4 /*
2     * Copyright (C) 2008 Till Harbaum <till@harbaum.org>.
3     *
4     * This file is part of OSM2Go.
5     *
6     * OSM2Go 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 3 of the License, or
9     * (at your option) any later version.
10     *
11     * OSM2Go 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 OSM2Go. If not, see <http://www.gnu.org/licenses/>.
18     */
19    
20     #ifndef NET_IO_H
21     #define NET_IO_H
22    
23 harbaum 169 gboolean net_io_download_file(GtkWidget *parent, settings_t *settings,
24     char *url, char *filename);
25     gboolean net_io_download_mem(GtkWidget *parent, settings_t *settings,
26     char *url, char **mem);
27 harbaum 4
28 harbaum 169 #include <curl/curl.h>
29     void net_io_set_proxy(CURL *curl, proxy_t *proxy);
30    
31 harbaum 4 #endif // NET_IO_H