From d015a5e66ac9b92bba4eb5020e7bf2384f65ed25 Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 13 Nov 2018 01:29:29 +0200 Subject: Homedir finished --- src/dblayer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dblayer.h') diff --git a/src/dblayer.h b/src/dblayer.h index 20ab4b2..b826327 100644 --- a/src/dblayer.h +++ b/src/dblayer.h @@ -43,7 +43,7 @@ extern DB open_DB(const UserOpt *opt); extern void close_DB(DB *db); extern int program_exists(DB *db, const char *pName); -extern int get_program_paths(DB *db, cklist *ckl, const char* pName, int bName, int attr); +extern int get_program_paths(DB *db, cklist *ckl, const char* pName, int bName, int attr, const char *home); /********/ /* init */ @@ -58,7 +58,7 @@ extern DB init_make_DB(const UserOpt *opt); /*******/ /* Returns 1 in error, 0 otherwise */ -extern int add_transaction_try(DB *db, const AddOpt * const opt); +extern int add_transaction_try(DB *db, const AddOpt * const opt, const char *home); /********/ /* edit */ @@ -72,9 +72,9 @@ extern int edit_get_config(DB *db, const char *pName, char *ret, const char *cNa /* list */ /********/ -extern int list_get_paths(DB *db, cklist *ckl, int bName, int attr); +extern int list_get_paths(DB *db, cklist *ckl, int bName, int attr, const char *home); extern int list_get_programs(DB *db, cklist *ckl); -extern int list_get_path_program_tree(DB *db, cklist *ckl, int bName, int attr); +extern int list_get_path_program_tree(DB *db, cklist *ckl, int bName, int attr, const char *home); /*******/ /* del */ -- cgit v1.2.3