aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vac
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-09-13 01:56:40 +0000
committerrsc <devnull@localhost>2005-09-13 01:56:40 +0000
commit6049f61c2898b7bc1e2057596d5aee9135a7d822 (patch)
treec92e89bf723d6db5eaca5741bc92f5f1d2cc780a /src/cmd/vac
parent215993f8445c0313153566ffb36382573803e48b (diff)
downloadplan9port-6049f61c2898b7bc1e2057596d5aee9135a7d822.tar.gz
plan9port-6049f61c2898b7bc1e2057596d5aee9135a7d822.tar.bz2
plan9port-6049f61c2898b7bc1e2057596d5aee9135a7d822.zip
Add Unix fields.
Diffstat (limited to 'src/cmd/vac')
-rw-r--r--src/cmd/vac/vac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/vac/vac.h b/src/cmd/vac/vac.h
index 87ed2ed1..94560eaf 100644
--- a/src/cmd/vac/vac.h
+++ b/src/cmd/vac/vac.h
@@ -29,6 +29,8 @@ enum
ModeArchive = (1<<18), /* MS-DOS */
ModeTemporary = (1<<19), /* MS-DOS */
ModeSnapshot = (1<<20), /* read only snapshot */
+ ModeDevice = (1<<21), /* Unix device */
+ ModeNamedPipe = (1<<22), /* Unix named pipe */
};
enum
@@ -120,6 +122,7 @@ uvlong vacfilegetid(VacFile *file);
ulong vacfilegetmcount(VacFile *file);
int vacfileisdir(VacFile *file);
int vacfileisroot(VacFile *file);
+int vacfileisspecial(VacFile *file);
int vacfilegetblocksize(VacFile *file, u32int bn, u8int *score);
int vacfilegetsize(VacFile *file, uvlong *size);
int vacfilegetdir(VacFile *file, VacDir *dir);