diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2012-08-07 04:08:04 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-12-14 03:35:34 +0100 |
commit | 80bc89c14768590e6ce3d33efaea8852a4db586c (patch) | |
tree | ea760ca434474d1d0cf5208835973bd5fc27a829 /lib/libalpm/filelist.h | |
parent | 2fad78974d74338fa6bf895b8b092c38ab41bd10 (diff) | |
download | pacman-80bc89c14768590e6ce3d33efaea8852a4db586c.tar.gz pacman-80bc89c14768590e6ce3d33efaea8852a4db586c.tar.xz |
Add _alpm_filelist_resolve
The _alpm_filelist_resolve function takes a filelist and creates
a list with any symlinks in directory paths resolved.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/filelist.h')
-rw-r--r-- | lib/libalpm/filelist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/filelist.h b/lib/libalpm/filelist.h index 2d5cbc03..ef865da7 100644 --- a/lib/libalpm/filelist.h +++ b/lib/libalpm/filelist.h @@ -21,6 +21,9 @@ #include "alpm.h" +size_t _alpm_filelist_resolve_link(alpm_filelist_t *files, size_t i, + char *path, size_t root_len, int resolving); +void _alpm_filelist_resolve(alpm_handle_t *handle, alpm_filelist_t *files); alpm_list_t *_alpm_filelist_difference(alpm_filelist_t *filesA, alpm_filelist_t *filesB); |