doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lib501.c
Go to the documentation of this file.
1 #include "test.h"
2 
3 int test(char *URL)
4 {
6  CURL *curl = curl_easy_init();
7 
8  (void)URL; /* we don't use this */
9  curl_easy_setopt(curl, CURLOPT_HEADER, TRUE);
10  res = curl_easy_perform(curl);
11  curl_easy_cleanup(curl);
12  return res;
13 }
14 
int test(char *URL)
Definition: lib501.c:3
CURLcode curl_easy_perform(CURL *curl)
Definition: easy.c:260
CURLcode
Definition: curl.h:209
CURLcode curl_easy_setopt(CURL *curl, CURLoption option,...)
Definition: easy.c:217
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
void CURL
Definition: types.h:25
GLuint res
Definition: glext.h:5385
#define TRUE
Definition: mprintf.c:69
void curl_easy_cleanup(CURL *curl)
Definition: easy.c:288
CURL * curl_easy_init(void)
Definition: easy.c:195