Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/filelist.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2012-08-06 22:08:04 -0400
committerAllan McRae <allan@archlinux.org>2012-12-14 12:35:34 +1000
commit80bc89c14768590e6ce3d33efaea8852a4db586c (patch)
treeea760ca434474d1d0cf5208835973bd5fc27a829 /lib/libalpm/filelist.h
parent2fad78974d74338fa6bf895b8b092c38ab41bd10 (diff)
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.h3
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);