blob: 0b6311e8686175829b9c22be44dd4a75eb748b18 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
//! @file download.h
#ifndef STASIS_DOWNLOAD_H
#define STASIS_DOWNLOAD_H
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>
size_t download_writer(void *fp, size_t size, size_t nmemb, void *stream);
long download(char *url, const char *filename, char **errmsg);
#endif //STASIS_DOWNLOAD_H
|