aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckutil.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-01 21:49:34 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-01 21:49:34 +0200
commit6d77eb748a6b15b9f473ab86371bfa474898cef1 (patch)
treea0a7186f0b046f3380fef374dfba4736dea3e309 /src/ckutil.h
parent8391390610a31209c230ec3c253db30c52b5dcb7 (diff)
downloadck-6d77eb748a6b15b9f473ab86371bfa474898cef1.tar.gz
ck-6d77eb748a6b15b9f473ab86371bfa474898cef1.tar.bz2
ck-6d77eb748a6b15b9f473ab86371bfa474898cef1.zip
Add swap tilde and home function
Diffstat (limited to 'src/ckutil.h')
-rw-r--r--src/ckutil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ckutil.h b/src/ckutil.h
index 8ca9ca1..72216ef 100644
--- a/src/ckutil.h
+++ b/src/ckutil.h
@@ -59,6 +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);
+
/*********************/
/* utility functions */
/*********************/