aboutsummaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2014-03-31 01:08:01 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-01 08:08:07 -0300
commitd31e5988959c116db7130799f692750f08ae8d9b (patch)
tree675849997e85d07f7451e3d1013b6b4478b13c0f /src/path.h
parent7464b07c225629b3969cfdcd135f4ac1fa0b7a0b (diff)
downloadrneovim-d31e5988959c116db7130799f692750f08ae8d9b.tar.gz
rneovim-d31e5988959c116db7130799f692750f08ae8d9b.tar.bz2
rneovim-d31e5988959c116db7130799f692750f08ae8d9b.zip
Move shorten_fname{,1,s} and shorten_filenames from fileio.c
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/path.h b/src/path.h
index c65367289c..8304741d2b 100644
--- a/src/path.h
+++ b/src/path.h
@@ -35,4 +35,8 @@ int after_pathsep(char_u *b, char_u *p);
int same_directory(char_u *f1, char_u *f2);
int pathcmp(const char *p, const char *q, int maxlen);
int mch_expandpath(garray_T *gap, char_u *path, int flags);
+char_u *shorten_fname1(char_u *full_path);
+char_u *shorten_fname(char_u *full_path, char_u *dir_name);
+void shorten_fnames(int force);
+void shorten_filenames(char_u **fnames, int count);
#endif