diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-11-27 13:01:25 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-11-27 13:01:25 +0100 |
commit | 2da1207b7df28bb0f9583debef75789e07c0777f (patch) | |
tree | cdafdeeb8b89f2b7c654fbc76e7e4629bb19a2b9 /include | |
parent | e196df01fa8b27c36e61933f89f8638945cb48e4 (diff) |
Fix issue #271 expand path.
Diffstat (limited to 'include')
-rw-r--r-- | include/rofi.h | 9 |
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 |