aboutsummaryrefslogtreecommitdiff
path: root/src/download.h
blob: ff188cc304097be156db0a596c5bb3d7b424f4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef DOWNLOAD_H
#define DOWNLOAD_H

struct Buffer;
typedef struct fallback fallback;

/* |fall| can be NULL */
int download_to_buffer(const char *url, struct Buffer *buffer, fallback *fall);
/* |fall| can be NULL */
int is_header_response_ok(const char *url, fallback *fall);

#endif