summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-11-27 13:01:25 +0100
committerDave Davenport <qball@gmpclient.org>2015-11-27 13:01:25 +0100
commit2da1207b7df28bb0f9583debef75789e07c0777f (patch)
treecdafdeeb8b89f2b7c654fbc76e7e4629bb19a2b9 /include/rofi.h
parente196df01fa8b27c36e61933f89f8638945cb48e4 (diff)
Fix issue #271 expand path.
Diffstat (limited to 'include/rofi.h')
-rw-r--r--include/rofi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rofi.h b/include/rofi.h
index b46f6ce1..f15e903b 100644
--- a/include/rofi.h
+++ b/include/rofi.h
@@ -339,4 +339,13 @@ struct _Mode
#define color_cyan_bold "\033[1;36m"
int show_error_message ( const char *msg, int markup );
+
+/**
+ * @param input The path to expand
+ *
+ * Expand path, both `~` and `~<user>`
+ *
+ * @returns path
+ */
+char *rofi_expand_path ( const char *input );
#endif