diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-19 11:56:37 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-22 09:14:45 -0500 |
commit | 329a7b7e242e0e4594eec9f70db4bd82d116c1c2 (patch) | |
tree | 06dc0b9077f56213737bed799ece3916f5cc2b70 /lib/libalpm/dload.h | |
parent | c4350d90f137ff3177e68cb0bab82d14edaac54e (diff) | |
download | pacman-329a7b7e242e0e4594eec9f70db4bd82d116c1c2.tar.xz |
dload: move tempfile and destfile to payload struct
These are private to the download operation already, so glob them onto
the struct. This is an ugly rename patch, with the only logical change
being that destfile and tempfile are now freed by the payload_free
function.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
-rw-r--r-- | lib/libalpm/dload.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h index 7a8ce048..41a3bc15 100644 --- a/lib/libalpm/dload.h +++ b/lib/libalpm/dload.h @@ -28,6 +28,8 @@ struct dload_payload { alpm_handle_t *handle; const char *remote_name; + char *tempfile_name; + char *destfile_name; char *cd_filename; char *fileurl; double initial_size; |