doom3-gpl
Doom 3 GPL source release
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
neo
curl
tests
libtest
lib500.c
Go to the documentation of this file.
1
#include "
test.h
"
2
3
int
test
(
char
*URL)
4
{
5
CURLcode
res
;
6
CURL
*curl =
curl_easy_init
();
7
curl_easy_setopt
(curl, CURLOPT_URL, URL);
8
curl_easy_setopt
(curl, CURLOPT_HEADER,
TRUE
);
9
res =
curl_easy_perform
(curl);
10
curl_easy_cleanup
(curl);
11
return
(
int
)
res
;
12
}
13
curl_easy_perform
CURLcode curl_easy_perform(CURL *curl)
Definition:
easy.c:260
test.h
CURLcode
CURLcode
Definition:
curl.h:209
curl_easy_setopt
CURLcode curl_easy_setopt(CURL *curl, CURLoption option,...)
Definition:
easy.c:217
test
int test(char *URL)
Definition:
lib500.c:3
CURL
void CURL
Definition:
types.h:25
res
GLuint res
Definition:
glext.h:5385
TRUE
#define TRUE
Definition:
mprintf.c:69
curl_easy_cleanup
void curl_easy_cleanup(CURL *curl)
Definition:
easy.c:288
curl_easy_init
CURL * curl_easy_init(void)
Definition:
easy.c:195
This page is maintained by
Wladimir van der Laan
. Generated on Mon Nov 17 2014 12:23:15 for doom3-gpl by
1.8.6
.