aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckutil.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-10 22:47:03 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-10 22:47:03 +0200
commit2638802ccd0d0776ebf1867181d4e3950a147074 (patch)
treecc535cc46c41d5dd347a7630f316cf1c84d00045 /src/ckutil.h
parent6d77eb748a6b15b9f473ab86371bfa474898cef1 (diff)
downloadck-2638802ccd0d0776ebf1867181d4e3950a147074.tar.gz
ck-2638802ccd0d0776ebf1867181d4e3950a147074.tar.bz2
ck-2638802ccd0d0776ebf1867181d4e3950a147074.zip
Home dir
Diffstat (limited to 'src/ckutil.h')
-rw-r--r--src/ckutil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ckutil.h b/src/ckutil.h
index 72216ef..b9d94db 100644
--- a/src/ckutil.h
+++ b/src/ckutil.h
@@ -59,7 +59,8 @@ extern void str_join_dirname_with_basename(char *ret, const char *path,
* else returns 0. */
extern int str_is_empty(const char *s);
-extern int swap_tilde_and_home(char *ret, const char *s);
+extern int swap_tilde_with_home(char *ret, const char *s, const char *home);
+extern int swap_home_with_tilde(char *ret, const char *s, const char *home);
/*********************/
/* utility functions */