From 72d3713cc7865af5f4d91410ad56ed4287be6109 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 12 Jul 2012 15:29:59 -0500 Subject: 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 --- lib/libalpm/be_local.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/be_local.c') diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index a8c8468b..bbc0a8ac 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -37,6 +37,7 @@ #include "handle.h" #include "package.h" #include "deps.h" +#include "filelist.h" static int local_db_read(alpm_pkg_t *info, alpm_dbinfrq_t inforeq); -- cgit v1.2.3-24-g4f1b