Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-28 20:24:20 -0500
committerAllan McRae <allan@archlinux.org>2013-01-29 13:36:58 +1000
commit27067b137286a40c47ae48bf6f296caf14688cd3 (patch)
treeffcb30acd0b2247f0d6a38daf7ad47e65dc58db2 /lib/libalpm/dload.h
parentf21e1f54aa92e78f701c11696a2b4b404ed5672b (diff)
dload: pass back the effective URL to callers of _alpm_download
I suspect that eventually we're going to end up returning a pointer to an allocated struct to describe the download result, but that's for another patch when the need arises... Fixes FS#33508. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
-rw-r--r--lib/libalpm/dload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h
index 70e34791..95bb91a3 100644
--- a/lib/libalpm/dload.h
+++ b/lib/libalpm/dload.h
@@ -48,7 +48,7 @@ struct dload_payload {
void _alpm_dload_payload_reset(struct dload_payload *payload);
int _alpm_download(struct dload_payload *payload, const char *localpath,
- char **final_file);
+ char **final_file, char **final_url);
#endif /* _ALPM_DLOAD_H */