summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-08-19 13:42:53 -0400
committerDan McGee <dan@archlinux.org>2011-08-22 09:18:00 -0500
commitd64c409913720ed3fbf3713de621bbef4ea3bb49 (patch)
tree64e7d935b21e9f3de4788c361cefc32a0b5e649e /lib/libalpm/dload.h
parent592ed13bce83afeeb8deff5a81dc782fdc32ac11 (diff)
downloadpacman-d64c409913720ed3fbf3713de621bbef4ea3bb49.tar.xz
dload: add open_mode to payload struct
This is a precursor to a following patch which will move the setting of options to a separate function. With the open mode as part of the struct, we can avoid modifying stack allocated variables. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h
index cc6cc240..13034f7b 100644
--- a/lib/libalpm/dload.h
+++ b/lib/libalpm/dload.h
@@ -28,6 +28,7 @@
struct dload_payload {
alpm_handle_t *handle;
const char *remote_name;
+ const char *tempfile_openmode;
char *tempfile_name;
char *destfile_name;
char *content_disp_name;