diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-10-29 17:20:28 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-10-29 17:20:28 +0200 |
commit | 5683c51d17b5eed7d2f070aa4e49cc21b65d82e5 (patch) | |
tree | f6eea31de970bf3b5233545b7296a0d81e60836e /src/dblayer.h | |
parent | 56fdf6de6ee00f1eb4303065c26811310a7c0728 (diff) | |
download | ck-5683c51d17b5eed7d2f070aa4e49cc21b65d82e5.tar.gz ck-5683c51d17b5eed7d2f070aa4e49cc21b65d82e5.tar.bz2 ck-5683c51d17b5eed7d2f070aa4e49cc21b65d82e5.zip |
Add list with basename and update readme
Diffstat (limited to 'src/dblayer.h')
-rw-r--r-- | src/dblayer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dblayer.h b/src/dblayer.h index 13ac187..20ab4b2 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 basename, int attr); +extern int get_program_paths(DB *db, cklist *ckl, const char* pName, int bName, int attr); /********/ /* init */ @@ -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 attr); +extern int list_get_paths(DB *db, cklist *ckl, int bName, int attr); extern int list_get_programs(DB *db, cklist *ckl); -extern int list_get_path_program_tree(DB *db, cklist *ckl, int attr); +extern int list_get_path_program_tree(DB *db, cklist *ckl, int bName, int attr); /*******/ /* del */ |