diff options
author | Dan McGee <dan@archlinux.org> | 2007-06-04 14:50:16 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-09 13:03:25 -0400 |
commit | 35a794c2ed4da7da44d3a04794fc90615e7c52e7 (patch) | |
tree | 75fd2667a69867795f6a32cc9bb1dc7d505e2004 /lib/libalpm/handle.h | |
parent | b6f3fe6957d0206485eac98fb2120578b75d0058 (diff) | |
download | pacman-35a794c2ed4da7da44d3a04794fc90615e7c52e7.tar.xz |
Allow multiple CacheDirs to be specified
This should hopefully allow multiple cache dirs to be specified in
pacman.conf and/or on the command line, and allow pacman to test
each one for the package file. The first one found to be writeable is
used as the download cache.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.h')
-rw-r--r-- | lib/libalpm/handle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index 8e6003c0..b0e80338 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -50,7 +50,7 @@ typedef struct _pmhandle_t { alpm_cb_download dlcb; /* Download callback function */ char *root; /* Root path, default '/' */ char *dbpath; /* Base path to pacman's DBs */ - char *cachedir; /* Base path to pacman's cache */ + alpm_list_t *cachedirs; /* Paths to pacman cache directories */ char *logfile; /* Name of the file to log to */ /*TODO is this used?*/ char *lockfile; /* Name of the lock file */ unsigned short usesyslog; /* Use syslog instead of logfile? */ /* TODO move to frontend */ |