NetSurf
content
fetchers
curl.h
Go to the documentation of this file.
1
/*
2
* Copyright 2007 Daniel Silverstone <dsilvers@digital-scurf.org>
3
*
4
* This file is part of NetSurf.
5
*
6
* NetSurf 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; version 2 of the License.
9
*
10
* NetSurf is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
/** \file
20
* Fetching of data from a URL (Registration).
21
*/
22
23
#ifndef NETSURF_CONTENT_FETCHERS_FETCH_CURL_H
24
#define NETSURF_CONTENT_FETCHERS_FETCH_CURL_H
25
26
#include <curl/curl.h>
27
28
/**
29
* Register curl scheme handler.
30
*
31
* \return NSERROR_OK on successful registration or error code on failure.
32
*/
33
nserror
fetch_curl_register
(
void
);
34
35
/** Global cURL multi handle. */
36
extern
CURLM *
fetch_curl_multi
;
37
38
#endif
fetch_curl_multi
CURLM * fetch_curl_multi
Global cURL multi handle.
Definition:
curl.c:271
fetch_curl_register
nserror fetch_curl_register(void)
Register curl scheme handler.
Definition:
curl.c:1965
nserror
nserror
Enumeration of error codes.
Definition:
errors.h:29
Generated on Fri Dec 27 2024 08:42:01 for NetSurf by
1.9.4