diff options
author | Dan Cross <cross@gajendra.net> | 2020-01-10 14:44:21 +0000 |
---|---|---|
committer | Dan Cross <cross@gajendra.net> | 2020-01-10 14:54:30 +0000 |
commit | fa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch) | |
tree | 81d26256d152435135bcb1ae43121979a49f5f2b /src/libdiskfs/hfs.h | |
parent | 77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff) | |
download | plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2 plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip |
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.
Signed-off-by: Dan Cross <cross@gajendra.net>
Diffstat (limited to 'src/libdiskfs/hfs.h')
-rw-r--r-- | src/libdiskfs/hfs.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libdiskfs/hfs.h b/src/libdiskfs/hfs.h index 662c3389..bf5ebc9f 100644 --- a/src/libdiskfs/hfs.h +++ b/src/libdiskfs/hfs.h @@ -3,12 +3,12 @@ wrapper. Apple technical note 1150 documents the file system: - + http://developer.apple.com/technotes/tn/tn1150.html - + Briefly an hfs file system comprises a volume header, an optional journal, and a set of forks. - + Most fs metadata resides in forks including a block allocation bitmap, a tree storing extents (q.v.) for forks and bad disk blocks, and a tree storing catalog (file and directory) @@ -52,11 +52,11 @@ enum NAMELEN = 255, UTFNAMELEN = NAMELEN*UTFmax, - + NEXTENTS = 8, - + Dfork = 0, Rfork = 255, - + /* fixed cnids */ RootpId = 1, RootId, ExtentsId, CatalogId, BadblockId, AllocId, MinuserId = 16, @@ -71,7 +71,7 @@ enum /* values in Node.type */ LeafNode = -1, IndexNode, HeaderNode, MapNode, - + /* catalog record types */ Folder = 1, File, FolderThread, FileThread, @@ -163,14 +163,14 @@ struct Treeref { Tree *tree; u32int cnid; /* tree->fork->cnid, for debugging prints */ - + Block *block; /* a node in the tree */ u32int nno; Node node; - + int rno; /* a record in the node */ int klen; - uchar *key; + uchar *key; int dlen; uchar *data; }; |