You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
244 B
18 lines
244 B
6 years ago
|
#include <curl/curl.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
struct curl_slist* slist;
|
||
|
|
||
|
curl_global_init(0);
|
||
|
|
||
|
slist = curl_slist_append(NULL, "CMake");
|
||
|
curl_slist_free_all(slist);
|
||
|
|
||
|
curl_global_cleanup();
|
||
|
|
||
|
return 0;
|
||
|
}
|