2021-08-02 11:41:15 -04:00
|
|
|
#include <curl/curl.h>
|
|
|
|
|
|
|
|
typedef struct {
|
2021-08-06 14:32:04 -04:00
|
|
|
char *buffer;
|
|
|
|
size_t size;
|
2021-08-02 11:41:15 -04:00
|
|
|
} outputStruct;
|
|
|
|
|
|
|
|
int initCurl();
|
|
|
|
int createRequest(const char *url, outputStruct *output);
|
|
|
|
int performRequests(void callback(char *, long));
|