forked from cpp/cWikiBot
16 lines
269 B
C
16 lines
269 B
C
|
#ifndef WIKIBOT_HTTP_H
|
||
|
#define WIKIBOT_HTTP_H
|
||
|
|
||
|
#include <stddef.h>
|
||
|
|
||
|
struct httpResponse_t {
|
||
|
char *response;
|
||
|
size_t size;
|
||
|
};
|
||
|
|
||
|
size_t httpResponseCallback(char *data, size_t wordlength, size_t bytecount, void *out);
|
||
|
|
||
|
char* request(char *url );
|
||
|
|
||
|
#endif //WIKIBOT_HTTP_H
|