17 lines
431 B
C
17 lines
431 B
C
#ifndef CURL_REQUEST_H
|
|
#define CURL_REQUEST_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <stdint.h>
|
|
#include <curl/curl.h>
|
|
|
|
size_t write_callback(void *ptr, size_t size, size_t nmemb, char *data);
|
|
void CURL_GET_Request(uint8_t *URL, uint8_t *result);
|
|
void CURL_POST_Request(uint8_t *URL, uint8_t *post_data);
|
|
uint8_t CURL_Check_connection(uint8_t *URL);
|
|
|
|
#endif /* CURL_REQUEST_H */
|