aboutsummaryrefslogtreecommitdiffstats
path: root/src/dblayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dblayer.h')
-rw-r--r--src/dblayer.h8
1 files changed, 4 insertions, 4 deletions
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 */