index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-04-19 02:12:01 -0700 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-06-26 15:59:08 +1000 |
commit | 16d98d657748fdbf32ab24db56d3cd4a23447673 (patch) | |
tree | ee8398b06af9c96afa68fd8d6ac3aeb6d712c6f6 /lib/libalpm/dload.h | |
parent | 59e751f72d09390067045168ac45a09a89419389 (diff) |
-rw-r--r-- | lib/libalpm/dload.h | 5 |
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h index 1e4af755..b9ef9c99 100644 --- a/lib/libalpm/dload.h +++ b/lib/libalpm/dload.h @@ -30,6 +30,11 @@ struct dload_payload { char *tempfile_name; char *destfile_name; char *content_disp_name; + /* client has to provide either + * 1) fileurl - full URL to the file + * 2) pair of (servers, filepath), in this case ALPM iterates over the + * server list and tries to download "$server/$filepath" + */ char *fileurl; char *filepath; /* download URL path */ alpm_list_t *servers; |