From 6d77eb748a6b15b9f473ab86371bfa474898cef1 Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 1 Nov 2018 21:49:34 +0200 Subject: Add swap tilde and home function --- src/ckutil.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ckutil.h') 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 */ /*********************/ -- cgit v1.2.3