Lines Matching refs:URL_FILE
76 typedef struct fcurl_data URL_FILE; typedef
79 URL_FILE *url_fopen(const char *url,const char *operation);
80 int url_fclose(URL_FILE *file);
81 int url_feof(URL_FILE *file);
82 size_t url_fread(void *ptr, size_t size, size_t nmemb, URL_FILE *file);
83 char * url_fgets(char *ptr, size_t size, URL_FILE *file);
84 void url_rewind(URL_FILE *file);
98 URL_FILE *url = (URL_FILE *)userp; in write_callback()
124 static int fill_buffer(URL_FILE *file, size_t want) in fill_buffer()
208 static int use_buffer(URL_FILE *file, size_t want) in use_buffer()
229 URL_FILE *url_fopen(const char *url,const char *operation) in url_fopen()
234 URL_FILE *file; in url_fopen()
237 file = malloc(sizeof(URL_FILE)); in url_fopen()
241 memset(file, 0, sizeof(URL_FILE)); in url_fopen()
280 int url_fclose(URL_FILE *file) in url_fclose()
309 int url_feof(URL_FILE *file) in url_feof()
331 size_t url_fread(void *ptr, size_t size, size_t nmemb, URL_FILE *file) in url_fread()
371 char *url_fgets(char *ptr, size_t size, URL_FILE *file) in url_fgets()
419 void url_rewind(URL_FILE *file) in url_rewind()
451 URL_FILE *handle; in main()