dload: add open_mode to payload struct
commitd64c409913720ed3fbf3713de621bbef4ea3bb49
authorDave Reisner <dreisner@archlinux.org>
Fri, 19 Aug 2011 17:42:53 +0000 (19 13:42 -0400)
committerDan McGee <dan@archlinux.org>
Mon, 22 Aug 2011 14:18:00 +0000 (22 09:18 -0500)
tree64e7d935b21e9f3de4788c361cefc32a0b5e649e
parent592ed13bce83afeeb8deff5a81dc782fdc32ac11
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>
lib/libalpm/dload.c
lib/libalpm/dload.h