aboutsummaryrefslogtreecommitdiffstats
path: root/src/dblayer.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-13 01:29:29 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-13 01:29:29 +0200
commitd015a5e66ac9b92bba4eb5020e7bf2384f65ed25 (patch)
treeb35417c4fb82e320f6d1297f449991c6c3537134 /src/dblayer.h
parent2638802ccd0d0776ebf1867181d4e3950a147074 (diff)
downloadck-d015a5e66ac9b92bba4eb5020e7bf2384f65ed25.tar.gz
ck-d015a5e66ac9b92bba4eb5020e7bf2384f65ed25.tar.bz2
ck-d015a5e66ac9b92bba4eb5020e7bf2384f65ed25.zip
Homedir finished
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 */