summary refs log tree commit diff
path: root/bin/edi/edi.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/edi/edi.h')
-rw-r--r--bin/edi/edi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/edi/edi.h b/bin/edi/edi.h
index bdcc6496..46cb4249 100644
--- a/bin/edi/edi.h
+++ b/bin/edi/edi.h
@@ -98,6 +98,7 @@ enum Error {
 	StoreMagic,
 	StoreVersion,
 	StoreEOF,
+	FileNoPath,
 	Errno,
 };
 
@@ -106,11 +107,10 @@ enum Error storeRead(FILE *stream, struct Edit *edit);
 
 struct File {
 	char *path;
-	struct Buffer buf;
-	struct Log log;
 	size_t clean;
+	struct Edit edit;
 };
 struct File fileAlloc(char *path);
 void fileFree(struct File *file);
-void fileRead(struct File *file);
-void fileWrite(struct File *file);
+enum Error fileRead(struct File *file);
+enum Error fileWrite(struct File *file);