summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/conflict.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-12 22:29:59 +0200
committerDan McGee <dan@archlinux.org>2012-08-02 16:39:08 +0200
commit72d3713cc7865af5f4d91410ad56ed4287be6109 (patch)
treeb7a4a0ddf620e5fcdaffa85c91a7352570217f24 /lib/libalpm/conflict.h
parent70d8c2150e33d1a0b9e09d72c5091d661383d641 (diff)
downloadpacman-72d3713cc7865af5f4d91410ad56ed4287be6109.tar.gz
pacman-72d3713cc7865af5f4d91410ad56ed4287be6109.tar.xz
Move filelist functions into separate source file
We have a few of these and might as well gather them together. This also cleans up the code a bit by using an enum instead of integer values, as well as makes a "search for file in filelist" function public so frontends can do better than straight linear search of the filelists. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/conflict.h')
-rw-r--r--lib/libalpm/conflict.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libalpm/conflict.h b/lib/libalpm/conflict.h
index a129d8b0..0bfdfd76 100644
--- a/lib/libalpm/conflict.h
+++ b/lib/libalpm/conflict.h
@@ -33,9 +33,6 @@ alpm_list_t *_alpm_db_find_fileconflicts(alpm_handle_t *handle,
void _alpm_fileconflict_free(alpm_fileconflict_t *conflict);
-const alpm_file_t *_alpm_filelist_contains(alpm_filelist_t *filelist,
- const char *name);
-
#endif /* _ALPM_CONFLICT_H */
/* vim: set ts=2 sw=2 noet: */