summaryrefslogtreecommitdiff
path: root/sys/src/cmd/hgfs/dat.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-06-28 03:51:05 +0200
committercinap_lenrek <cinap_lenrek@localhost>2011-06-28 03:51:05 +0200
commit6d91601a775db1fa873f64f90da764ece2c2da6d (patch)
treea95d7e5a0ad0b32f046ed7661235673736a94024 /sys/src/cmd/hgfs/dat.h
parentd0485d345db63b0ee82301251339e72d6093107d (diff)
hgfs: get previous file revisions with appending .n or .revn
Diffstat (limited to 'sys/src/cmd/hgfs/dat.h')
-rw-r--r--sys/src/cmd/hgfs/dat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/src/cmd/hgfs/dat.h b/sys/src/cmd/hgfs/dat.h
index 9d1940044..b2f0be931 100644
--- a/sys/src/cmd/hgfs/dat.h
+++ b/sys/src/cmd/hgfs/dat.h
@@ -33,6 +33,10 @@ struct Revmap
struct Revlog
{
+ Ref;
+
+ char *path;
+
int ifd;
int dfd;
@@ -51,6 +55,7 @@ struct Revnode
Revnode *up;
Revnode *next;
Revnode *down;
+ Revnode *before;
char mode;
};
@@ -82,6 +87,7 @@ struct Revfile
Revinfo *info;
Revtree *tree;
Revnode *node;
+ Revlog *rlog;
char *buf;
int fd;