diff options
author | Dan McGee <dan@archlinux.org> | 2011-04-22 01:31:19 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-23 00:08:33 +0200 |
commit | 9579879b1bb1a033e846b750769215b7b4066073 (patch) | |
tree | 9d41d9c12914e72f6a900ac152c1f520d003f8d1 /lib/libalpm/package.h | |
parent | 204bbc47149c948b680735a933fa395ce3983f38 (diff) | |
download | pacman-9579879b1bb1a033e846b750769215b7b4066073.tar.gz pacman-9579879b1bb1a033e846b750769215b7b4066073.tar.xz |
libalpm/dload: major refactor of signature downloading
There's a lot of related moving parts here:
* Iteration through mirrors is moved back to the calling functions. This
allows removal of _alpm_download_single_file and _alpm_download_files.
* The download function gets a few more arguments to influence behavior.
This allows several different scenarios to customize behavior:
- database
- database signature (req'd and optional)
- package
- package via direct URL
- package signature via direct URL (req'd and optional)
* For databases, we need signatures from the same mirror, so structure
the code accordingly.
Some-inspiration-from: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
0 files changed, 0 insertions, 0 deletions