aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-06 15:18:23 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-06 15:18:23 +0200
commit913d767475110bd73ce4fe772ff2444004b8f359 (patch)
treee65f099568444167ca6ebac2c2368e653b7e1ef3 /text.h
parente7dabd3d87d89efe2fadbe1e21d03fbeb3cc68a6 (diff)
downloadvis-913d767475110bd73ce4fe772ff2444004b8f359.tar.gz
vis-913d767475110bd73ce4fe772ff2444004b8f359.tar.xz
Move filename from Text to File
Also apply syntax rules every time the file name changes.
Diffstat (limited to 'text.h')
-rw-r--r--text.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/text.h b/text.h
index 9c2b09e..2c847d1 100644
--- a/text.h
+++ b/text.h
@@ -39,10 +39,6 @@ Text *text_load_fd(int fd);
/* return the fd from which this text was loaded or -1 if it was
* loaded from a filename */
int text_fd_get(Text*);
-/* the filename from which this text was loaded or first saved to */
-const char *text_filename_get(Text*);
-/* associate a filename with the yet unnamed buffer */
-void text_filename_set(Text*, const char *filename);
bool text_insert(Text*, size_t pos, const char *data, size_t len);
bool text_delete(Text*, size_t pos, size_t len);
void text_snapshot(Text*);