aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-26 18:28:41 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-05-26 19:28:41 +0200
commit3032669cd9bf8d2a564f9eb37bc9a58bbb317314 (patch)
tree511b229fa6ca73ee3d688665203d100ec2a8b4d6 /vis-core.h
parenta338f4fd81a00c14f416f4bfa004583e5ede18c5 (diff)
downloadvis-3032669cd9bf8d2a564f9eb37bc9a58bbb317314.tar.gz
vis-3032669cd9bf8d2a564f9eb37bc9a58bbb317314.tar.xz
vis: use normalized absolute file names as internal representation
Try to display a shorthand version in the status bar, this currently only works for files below the current working directory of the editor process.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vis-core.h b/vis-core.h
index fb34a1b..51c9447 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -199,4 +199,7 @@ void mode_set(Vis *vis, Mode *new_mode);
void window_selection_save(Win *win);
Win *window_new_file(Vis *vis, File *file);
+const char *file_name_get(File*);
+void file_name_set(File*, const char *name);
+
#endif