added the function prototype for http.h

This commit is contained in:
Fufu Fang 2018-07-18 17:46:41 +01:00
parent cd097dc4f1
commit fb7c56b9c4
1 changed files with 9 additions and 0 deletions

9
http.h
View File

@ -0,0 +1,9 @@
#ifndef HTTP_H
#define HTTP_H
URL_FILE *url_fopen(const char *url, const char *operation);
int url_fclose(URL_FILE *file);
int url_feof(URL_FILE *file);
size_t url_fread(void *ptr, size_t size, size_t nmemb, URL_FILE *file);
char *url_fgets(char *ptr, size_t size, URL_FILE *file);
void url_rewind(URL_FILE *file);
#endif