aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/fossil/fs.h
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2013-09-23 23:16:25 +0200
committerDavid du Colombier <0intro@gmail.com>2013-09-23 23:16:25 +0200
commit4b5766580559d101dd1c29cc575b3ffa9f51c2d7 (patch)
treef35364a39e255b1336482ee30217d68279ba8699 /src/cmd/fossil/fs.h
parent6f4d00ee45693290fae042b27536b54f77b96acd (diff)
downloadplan9port-4b5766580559d101dd1c29cc575b3ffa9f51c2d7.tar.gz
plan9port-4b5766580559d101dd1c29cc575b3ffa9f51c2d7.tar.bz2
plan9port-4b5766580559d101dd1c29cc575b3ffa9f51c2d7.zip
fossil: move from liboventi to libthread and libventi
R=rsc https://codereview.appspot.com/13504049
Diffstat (limited to 'src/cmd/fossil/fs.h')
-rw-r--r--src/cmd/fossil/fs.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/cmd/fossil/fs.h b/src/cmd/fossil/fs.h
index 67314d1f..67792ce7 100644
--- a/src/cmd/fossil/fs.h
+++ b/src/cmd/fossil/fs.h
@@ -6,6 +6,17 @@ typedef struct DirEntryEnum DirEntryEnum;
#pragma incomplete File
#pragma incomplete DirEntryEnum
+enum
+{
+ STACK = 32*1024,
+};
+
+enum
+{
+ // XXX What to do here?
+ VtMaxLumpSize = 65536,
+};
+
/* modes */
enum {
@@ -21,7 +32,7 @@ void fsClose(Fs*);
int fsEpochLow(Fs*, u32int);
File *fsGetRoot(Fs*);
int fsHalt(Fs*);
-Fs *fsOpen(char*, VtSession*, long, int);
+Fs *fsOpen(char*, VtConn*, long, int);
int fsRedial(Fs*, char*);
void fsSnapshotCleanup(Fs*, u32int);
int fsSnapshot(Fs*, char*, char*, int);