* Remove (void) casts for discarded return values.
[dragonfly.git] / sys / vfs / coda / coda.h
1 /*
2  * 
3  *             Coda: an Experimental Distributed File System
4  *                              Release 3.1
5  * 
6  *           Copyright (c) 1987-1998 Carnegie Mellon University
7  *                          All Rights Reserved
8  * 
9  * Permission  to  use, copy, modify and distribute this software and its
10  * documentation is hereby granted,  provided  that  both  the  copyright
11  * notice  and  this  permission  notice  appear  in  all  copies  of the
12  * software, derivative works or  modified  versions,  and  any  portions
13  * thereof, and that both notices appear in supporting documentation, and
14  * that credit is given to Carnegie Mellon University  in  all  documents
15  * and publicity pertaining to direct or indirect use of this code or its
16  * derivatives.
17  * 
18  * CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS  KNOWN  TO  HAVE  BUGS,
19  * SOME  OF  WHICH MAY HAVE SERIOUS CONSEQUENCES.  CARNEGIE MELLON ALLOWS
20  * FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION.   CARNEGIE  MELLON
21  * DISCLAIMS  ANY  LIABILITY  OF  ANY  KIND  FOR  ANY  DAMAGES WHATSOEVER
22  * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE  OR  OF
23  * ANY DERIVATIVE WORK.
24  * 
25  * Carnegie  Mellon  encourages  users  of  this  software  to return any
26  * improvements or extensions that  they  make,  and  to  grant  Carnegie
27  * Mellon the rights to redistribute these changes without encumbrance.
28  * 
29  *      @(#) src/sys/coda/coda.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ 
30  * $FreeBSD: src/sys/coda/coda.h,v 1.9 1999/12/29 04:54:30 peter Exp $
31  * $DragonFly: src/sys/vfs/coda/Attic/coda.h,v 1.4 2006/01/13 21:09:26 swildner Exp $
32  * 
33  */
34
35
36 /*
37  *
38  * Based on cfs.h from Mach, but revamped for increased simplicity.
39  * Linux modifications by Peter Braam, Aug 1996
40  */
41
42 #ifndef _CODA_HEADER_
43 #define _CODA_HEADER_
44
45
46
47 /* Catch new _KERNEL defn for NetBSD */
48 #ifdef __NetBSD__
49 #include <sys/types.h>
50 #endif 
51
52 #ifndef CODA_MAXSYMLINKS
53 #define CODA_MAXSYMLINKS 10
54 #endif
55
56 #if defined(DJGPP) || defined(__CYGWIN32__)
57 #ifdef _KERNEL
58 typedef unsigned long u_long;
59 typedef unsigned int u_int;
60 typedef unsigned short u_short;
61 typedef u_long ino_t;
62 typedef u_long dev_t;
63 typedef void * caddr_t;
64 #ifdef DOS
65 typedef unsigned __int64 u_quad_t;
66 #else 
67 typedef unsigned long long u_quad_t;
68 #endif
69
70 #define inline
71
72 struct timespec {
73         long       ts_sec;
74         long       ts_nsec;
75 };
76 #else  /* DJGPP but not _KERNEL */
77 #include <sys/types.h>
78 #include <sys/time.h>
79 typedef unsigned long long u_quad_t;
80 #endif /* !_KERNEL */
81 #endif /* !DJGPP */
82
83
84 #if defined(__linux__)
85 #define cdev_t u_quad_t
86 #if !defined(_UQUAD_T_) && (!defined(__GLIBC__) || __GLIBC__ < 2)
87 #define _UQUAD_T_ 1
88 typedef unsigned long long u_quad_t;
89 #endif
90 #else
91 #define cdev_t udev_t
92 #endif
93
94 #ifdef __CYGWIN32__
95 typedef unsigned char u_int8_t;
96 struct timespec {
97         time_t  tv_sec;         /* seconds */
98         long    tv_nsec;        /* nanoseconds */
99 };
100 #endif
101
102
103 /*
104  * Cfs constants
105  */
106 #define CODA_MAXNAMLEN   255
107 #define CODA_MAXPATHLEN  1024
108 #define CODA_MAXSYMLINK  10
109
110 /* these are Coda's version of O_RDONLY etc combinations
111  * to deal with VFS open modes
112  */
113 #define C_O_READ        0x001
114 #define C_O_WRITE       0x002
115 #define C_O_TRUNC       0x010
116 #define C_O_EXCL        0x100
117 #define C_O_CREAT       0x200
118
119 /* these are to find mode bits in Venus */ 
120 #define C_M_READ  00400
121 #define C_M_WRITE 00200
122
123 /* for access Venus will use */
124 #define C_A_C_OK    8               /* Test for writing upon create.  */
125 #define C_A_R_OK    4               /* Test for read permission.  */
126 #define C_A_W_OK    2               /* Test for write permission.  */
127 #define C_A_X_OK    1               /* Test for execute permission.  */
128 #define C_A_F_OK    0               /* Test for existence.  */
129
130
131
132 #ifndef _VENUS_DIRENT_T_
133 #define _VENUS_DIRENT_T_ 1
134 struct venus_dirent {
135         unsigned long   d_fileno;               /* file number of entry */
136         unsigned short  d_reclen;               /* length of this record */
137         char            d_type;                 /* file type, see below */
138         char            d_namlen;               /* length of string in d_name */
139         char            d_name[CODA_MAXNAMLEN + 1];/* name must be no longer than this */
140 };
141 #undef DIRSIZ
142 #define DIRSIZ(dp)      ((sizeof (struct venus_dirent) - (CODA_MAXNAMLEN+1)) + \
143                          (((dp)->d_namlen+1 + 3) &~ 3))
144
145 /*
146  * File types
147  */
148 #define CDT_UNKNOWN      0
149 #define CDT_FIFO         1
150 #define CDT_CHR          2
151 #define CDT_DIR          4
152 #define CDT_BLK          6
153 #define CDT_REG          8
154 #define CDT_LNK         10
155 #define CDT_SOCK        12
156 #define CDT_WHT         14
157
158 /*
159  * Convert between stat structure types and directory types.
160  */
161 #define IFTOCDT(mode)   (((mode) & 0170000) >> 12)
162 #define CDTTOIF(dirtype)        ((dirtype) << 12)
163
164 #endif
165
166 #ifndef _FID_T_
167 #define _FID_T_ 1
168 typedef u_long VolumeId;
169 typedef u_long VnodeId;
170 typedef u_long Unique_t;
171 typedef u_long FileVersion;
172 #endif 
173
174 #ifndef _VICEFID_T_
175 #define _VICEFID_T_     1
176 typedef struct ViceFid {
177     VolumeId Volume;
178     VnodeId Vnode;
179     Unique_t Unique;
180 } ViceFid;
181 #endif  /* VICEFID */
182
183
184 #ifdef __linux__
185 static __inline__ ino_t
186 coda_f2i(struct ViceFid *fid)
187 {
188         if ( ! fid ) 
189                 return 0; 
190         if (fid->Vnode == 0xfffffffe || fid->Vnode == 0xffffffff)
191                 return ((fid->Volume << 20) | (fid->Unique & 0xfffff));
192         else
193                 return (fid->Unique + (fid->Vnode<<10) + (fid->Volume<<20));
194 }
195         
196 #else
197 #define coda_f2i(fid)\
198         ((fid) ? ((fid)->Unique + ((fid)->Vnode<<10) + ((fid)->Volume<<20)) : 0)
199 #endif
200
201
202 #ifndef __BIT_TYPES_DEFINED__
203 #define u_int32_t unsigned int
204 #endif
205
206
207 #ifndef _VUID_T_
208 #define _VUID_T_
209 typedef u_int32_t vuid_t;
210 typedef u_int32_t vgid_t;
211 #endif /*_VUID_T_ */
212
213 #ifndef _CODACRED_T_
214 #define _CODACRED_T_
215 struct coda_cred {
216     vuid_t cr_uid, cr_euid, cr_suid, cr_fsuid; /* Real, efftve, set, fs uid*/
217     vgid_t cr_groupid,     cr_egid, cr_sgid, cr_fsgid; /* same for groups */
218 };
219 #endif 
220
221 #ifndef _VENUS_VATTR_T_
222 #define _VENUS_VATTR_T_
223 /*
224  * Vnode types.  VNON means no type.
225  */
226 enum coda_vtype { C_VNON, C_VREG, C_VDIR, C_VBLK, C_VCHR, C_VLNK, C_VSOCK, C_VFIFO, C_VBAD };
227
228 struct coda_vattr {
229         int             va_type;        /* vnode type (for create) */
230         nlink_t         va_nlink;       /* number of references to file */
231         u_short         va_mode;        /* files access mode and type */
232         vuid_t          va_uid;         /* owner user id */
233         vgid_t          va_gid;         /* owner group id */
234         long            va_fileid;      /* file id */
235         u_quad_t        va_size;        /* file size in bytes */
236         long            va_blocksize;   /* blocksize preferred for i/o */
237         struct timespec va_atime;       /* time of last access */
238         struct timespec va_mtime;       /* time of last modification */
239         struct timespec va_ctime;       /* time file changed */
240         u_long          va_gen;         /* generation number of file */
241         u_long          va_flags;       /* flags defined for file */
242         cdev_t          va_rdev;        /* device special file represents */
243         u_quad_t        va_bytes;       /* bytes of disk space held by file */
244         u_quad_t        va_filerev;     /* file modification number */
245 };
246
247 #endif 
248
249 /*
250  * Kernel <--> Venus communications.
251  */
252
253 #define CODA_ROOT       2
254 #define CODA_SYNC       3
255 #define CODA_OPEN       4
256 #define CODA_CLOSE      5
257 #define CODA_IOCTL      6
258 #define CODA_GETATTR    7
259 #define CODA_SETATTR    8
260 #define CODA_ACCESS     9
261 #define CODA_LOOKUP     10
262 #define CODA_CREATE     11
263 #define CODA_REMOVE     12
264 #define CODA_LINK       13
265 #define CODA_RENAME     14
266 #define CODA_MKDIR      15
267 #define CODA_RMDIR      16
268 #define CODA_READDIR    17
269 #define CODA_SYMLINK    18
270 #define CODA_READLINK   19
271 #define CODA_FSYNC      20
272 #define CODA_INACTIVE   21
273 #define CODA_VGET       22
274 #define CODA_SIGNAL     23
275 #define CODA_REPLACE    24
276 #define CODA_FLUSH       25
277 #define CODA_PURGEUSER   26
278 #define CODA_ZAPFILE     27
279 #define CODA_ZAPDIR      28
280 #define CODA_PURGEFID    30
281 #define CODA_OPEN_BY_PATH 31
282 #define CODA_RESOLVE     32
283 #define CODA_REINTEGRATE 33
284 #define CODA_NCALLS 34
285
286 #define DOWNCALL(opcode) (opcode >= CODA_REPLACE && opcode <= CODA_PURGEFID)
287
288 #define VC_MAXDATASIZE      8192
289 #define VC_MAXMSGSIZE      sizeof(union inputArgs)+sizeof(union outputArgs) +\
290                             VC_MAXDATASIZE  
291
292 #define CIOC_KERNEL_VERSION _IOWR('c', 10, sizeof (int))
293 #if     0
294         /* don't care about kernel version number */
295 #define CODA_KERNEL_VERSION 0
296         /* The old venus 4.6 compatible interface */
297 #define CODA_KERNEL_VERSION 1
298 #endif
299         /* venus_lookup gets an extra parameter to aid windows.*/
300 #define CODA_KERNEL_VERSION 2
301
302 /*
303  *        Venus <-> Coda  RPC arguments
304  */
305 struct coda_in_hdr {
306     unsigned long opcode;
307     unsigned long unique;           /* Keep multiple outstanding msgs distinct */
308     u_short pid;                    /* Common to all */
309     u_short pgid;                   /* Common to all */
310     u_short sid;                    /* Common to all */
311     struct coda_cred cred;          /* Common to all */
312 };
313
314 /* Really important that opcode and unique are 1st two fields! */
315 struct coda_out_hdr {
316     unsigned long opcode;
317     unsigned long unique;       
318     unsigned long result;
319 };
320
321 /* coda_root: NO_IN */
322 struct coda_root_out {
323     struct coda_out_hdr oh;
324     ViceFid VFid;
325 };
326
327 struct coda_root_in {
328     struct coda_in_hdr in;
329 };
330
331 /* coda_sync: */
332 /* Nothing needed for coda_sync */
333
334 /* coda_open: */
335 struct coda_open_in {
336     struct coda_in_hdr ih;
337     ViceFid     VFid;
338     int flags;
339 };
340
341 struct coda_open_out {
342     struct coda_out_hdr oh;
343     cdev_t      dev;
344     ino_t       inode;
345 };
346
347
348 /* coda_close: */
349 struct coda_close_in {
350     struct coda_in_hdr ih;
351     ViceFid     VFid;
352     int flags;
353 };
354
355 struct coda_close_out {
356     struct coda_out_hdr out;
357 };
358
359 /* coda_ioctl: */
360 struct coda_ioctl_in {
361     struct coda_in_hdr ih;
362     ViceFid VFid;
363     int cmd;
364     int len;
365     int rwflag;
366     char *data;                 /* Place holder for data. */
367 };
368
369 struct coda_ioctl_out {
370     struct coda_out_hdr oh;
371     int len;
372     caddr_t     data;           /* Place holder for data. */
373 };
374
375
376 /* coda_getattr: */
377 struct coda_getattr_in {
378     struct coda_in_hdr ih;
379     ViceFid VFid;
380 };
381
382 struct coda_getattr_out {
383     struct coda_out_hdr oh;
384     struct coda_vattr attr;
385 };
386
387
388 /* coda_setattr: NO_OUT */
389 struct coda_setattr_in {
390     struct coda_in_hdr ih;
391     ViceFid VFid;
392     struct coda_vattr attr;
393 };
394
395 struct coda_setattr_out {
396     struct coda_out_hdr out;
397 };
398
399 /* coda_access: NO_OUT */
400 struct coda_access_in {
401     struct coda_in_hdr ih;
402     ViceFid     VFid;
403     int flags;
404 };
405
406 struct coda_access_out {
407     struct coda_out_hdr out;
408 };
409
410
411 /* lookup flags */
412 #define CLU_CASE_SENSITIVE     0x01
413 #define CLU_CASE_INSENSITIVE   0x02
414
415 /* coda_lookup: */
416 struct  coda_lookup_in {
417     struct coda_in_hdr ih;
418     ViceFid     VFid;
419     int         name;           /* Place holder for data. */
420     int         flags;  
421 };
422
423 struct coda_lookup_out {
424     struct coda_out_hdr oh;
425     ViceFid VFid;
426     int vtype;
427 };
428
429
430 /* coda_create: */
431 struct coda_create_in {
432     struct coda_in_hdr ih;
433     ViceFid VFid;
434     struct coda_vattr attr;
435     int excl;
436     int mode;
437     int         name;           /* Place holder for data. */
438 };
439
440 struct coda_create_out {
441     struct coda_out_hdr oh;
442     ViceFid VFid;
443     struct coda_vattr attr;
444 };
445
446
447 /* coda_remove: NO_OUT */
448 struct coda_remove_in {
449     struct coda_in_hdr ih;
450     ViceFid     VFid;
451     int name;           /* Place holder for data. */
452 };
453
454 struct coda_remove_out {
455     struct coda_out_hdr out;
456 };
457
458 /* coda_link: NO_OUT */
459 struct coda_link_in {
460     struct coda_in_hdr ih;
461     ViceFid sourceFid;          /* cnode to link *to* */
462     ViceFid destFid;            /* Directory in which to place link */
463     int tname;          /* Place holder for data. */
464 };
465
466 struct coda_link_out {
467     struct coda_out_hdr out;
468 };
469
470
471 /* coda_rename: NO_OUT */
472 struct coda_rename_in {
473     struct coda_in_hdr ih;
474     ViceFid     sourceFid;
475     int         srcname;
476     ViceFid destFid;
477     int         destname;
478 };
479
480 struct coda_rename_out {
481     struct coda_out_hdr out;
482 };
483
484 /* coda_mkdir: */
485 struct coda_mkdir_in {
486     struct coda_in_hdr ih;
487     ViceFid     VFid;
488     struct coda_vattr attr;
489     int    name;                /* Place holder for data. */
490 };
491
492 struct coda_mkdir_out {
493     struct coda_out_hdr oh;
494     ViceFid VFid;
495     struct coda_vattr attr;
496 };
497
498
499 /* coda_rmdir: NO_OUT */
500 struct coda_rmdir_in {
501     struct coda_in_hdr ih;
502     ViceFid     VFid;
503     int name;           /* Place holder for data. */
504 };
505
506 struct coda_rmdir_out {
507     struct coda_out_hdr out;
508 };
509
510 /* coda_readdir: */
511 struct coda_readdir_in {
512     struct coda_in_hdr ih;
513     ViceFid     VFid;
514     int count;
515     int offset;
516 };
517
518 struct coda_readdir_out {
519     struct coda_out_hdr oh;
520     int size;
521     caddr_t     data;           /* Place holder for data. */
522 };
523
524 /* coda_symlink: NO_OUT */
525 struct coda_symlink_in {
526     struct coda_in_hdr ih;
527     ViceFid     VFid;          /* Directory to put symlink in */
528     int srcname;
529     struct coda_vattr attr;
530     int tname;
531 };
532
533 struct coda_symlink_out {
534     struct coda_out_hdr out;
535 };
536
537 /* coda_readlink: */
538 struct coda_readlink_in {
539     struct coda_in_hdr ih;
540     ViceFid VFid;
541 };
542
543 struct coda_readlink_out {
544     struct coda_out_hdr oh;
545     int count;
546     caddr_t     data;           /* Place holder for data. */
547 };
548
549
550 /* coda_fsync: NO_OUT */
551 struct coda_fsync_in {
552     struct coda_in_hdr ih;
553     ViceFid VFid;
554 };
555
556 struct coda_fsync_out {
557     struct coda_out_hdr out;
558 };
559
560 /* coda_inactive: NO_OUT */
561 struct coda_inactive_in {
562     struct coda_in_hdr ih;
563     ViceFid VFid;
564 };
565
566 /* coda_vget: */
567 struct coda_vget_in {
568     struct coda_in_hdr ih;
569     ViceFid VFid;
570 };
571
572 struct coda_vget_out {
573     struct coda_out_hdr oh;
574     ViceFid VFid;
575     int vtype;
576 };
577
578
579 /* CODA_SIGNAL is out-of-band, doesn't need data. */
580 /* CODA_INVALIDATE is a venus->kernel call */
581 /* CODA_FLUSH is a venus->kernel call */
582
583 /* coda_purgeuser: */
584 /* CODA_PURGEUSER is a venus->kernel call */
585 struct coda_purgeuser_out {
586     struct coda_out_hdr oh;
587     struct coda_cred cred;
588 };
589
590 /* coda_zapfile: */
591 /* CODA_ZAPFILE is a venus->kernel call */
592 struct coda_zapfile_out {  
593     struct coda_out_hdr oh;
594     ViceFid CodaFid;
595 };
596
597 /* coda_zapdir: */
598 /* CODA_ZAPDIR is a venus->kernel call */       
599 struct coda_zapdir_out {          
600     struct coda_out_hdr oh;
601     ViceFid CodaFid;
602 };
603
604 /* coda_zapnode: */
605 /* CODA_ZAPVNODE is a venus->kernel call */     
606 struct coda_zapvnode_out { 
607     struct coda_out_hdr oh;
608     struct coda_cred cred;
609     ViceFid VFid;
610 };
611
612 /* coda_purgefid: */
613 /* CODA_PURGEFID is a venus->kernel call */     
614 struct coda_purgefid_out { 
615     struct coda_out_hdr oh;
616     ViceFid CodaFid;
617 };
618
619 /* coda_rdwr: */
620 struct coda_rdwr_in {
621     struct coda_in_hdr ih;
622     ViceFid     VFid;
623     int rwflag;
624     int count;
625     int offset;
626     int ioflag;
627     caddr_t     data;           /* Place holder for data. */    
628 };
629
630 struct coda_rdwr_out {
631     struct coda_out_hdr oh;
632     int rwflag;
633     int count;
634     caddr_t     data;   /* Place holder for data. */
635 };
636
637
638 /* coda_replace: */
639 /* CODA_REPLACE is a venus->kernel call */      
640 struct coda_replace_out { /* coda_replace is a venus->kernel call */
641     struct coda_out_hdr oh;
642     ViceFid NewFid;
643     ViceFid OldFid;
644 };
645
646 /* coda_open_by_path: */
647 struct coda_open_by_path_in {
648     struct coda_in_hdr ih;
649     ViceFid     VFid;
650     int flags;
651 };
652
653 struct coda_open_by_path_out {
654     struct coda_out_hdr oh;
655         int path;
656 };
657
658 /* 
659  * Occasionally, we don't cache the fid returned by CODA_LOOKUP. 
660  * For instance, if the fid is inconsistent. 
661  * This case is handled by setting the top bit of the type result parameter.
662  */
663 #define CODA_NOCACHE          0x80000000
664
665 union inputArgs {
666     struct coda_in_hdr ih;              /* NB: every struct below begins with an ih */
667     struct coda_open_in coda_open;
668     struct coda_close_in coda_close;
669     struct coda_ioctl_in coda_ioctl;
670     struct coda_getattr_in coda_getattr;
671     struct coda_setattr_in coda_setattr;
672     struct coda_access_in coda_access;
673     struct coda_lookup_in coda_lookup;
674     struct coda_create_in coda_create;
675     struct coda_remove_in coda_remove;
676     struct coda_link_in coda_link;
677     struct coda_rename_in coda_rename;
678     struct coda_mkdir_in coda_mkdir;
679     struct coda_rmdir_in coda_rmdir;
680     struct coda_readdir_in coda_readdir;
681     struct coda_symlink_in coda_symlink;
682     struct coda_readlink_in coda_readlink;
683     struct coda_fsync_in coda_fsync;
684     struct coda_inactive_in coda_inactive;
685     struct coda_vget_in coda_vget;
686     struct coda_rdwr_in coda_rdwr;
687         struct coda_open_by_path_in coda_open_by_path;
688 };
689
690 union outputArgs {
691     struct coda_out_hdr oh;             /* NB: every struct below begins with an oh */
692     struct coda_root_out coda_root;
693     struct coda_open_out coda_open;
694     struct coda_ioctl_out coda_ioctl;
695     struct coda_getattr_out coda_getattr;
696     struct coda_lookup_out coda_lookup;
697     struct coda_create_out coda_create;
698     struct coda_mkdir_out coda_mkdir;
699     struct coda_readdir_out coda_readdir;
700     struct coda_readlink_out coda_readlink;
701     struct coda_vget_out coda_vget;
702     struct coda_purgeuser_out coda_purgeuser;
703     struct coda_zapfile_out coda_zapfile;
704     struct coda_zapdir_out coda_zapdir;
705     struct coda_zapvnode_out coda_zapvnode;
706     struct coda_purgefid_out coda_purgefid;
707     struct coda_rdwr_out coda_rdwr;
708     struct coda_replace_out coda_replace;
709         struct coda_open_by_path_out coda_open_by_path;
710 };    
711
712 union coda_downcalls {
713     /* CODA_INVALIDATE is a venus->kernel call */
714     /* CODA_FLUSH is a venus->kernel call */
715     struct coda_purgeuser_out purgeuser;
716     struct coda_zapfile_out zapfile;
717     struct coda_zapdir_out zapdir;
718     struct coda_zapvnode_out zapvnode;
719     struct coda_purgefid_out purgefid;
720     struct coda_replace_out replace;
721 };
722
723
724 /*
725  * Used for identifying usage of "Control" and pioctls
726  */
727
728 #define PIOCPARM_MASK 0x0000ffff
729 struct ViceIoctl {
730         caddr_t in, out;        /* Data to be transferred in, or out */
731         short in_size;          /* Size of input buffer <= 2K */
732         short out_size;         /* Maximum size of output buffer, <= 2K */
733 };
734
735 #if defined(__CYGWIN32__) || defined(DJGPP)
736 struct PioctlData {
737         unsigned long cmd;
738         const char *path;
739         int follow;
740         struct ViceIoctl vi;
741 };
742 #else
743 struct PioctlData {
744         const char *path;
745         int follow;
746         struct ViceIoctl vi;
747 };
748 #endif
749
750 #define CODA_CONTROL            ".CONTROL"
751 #define CODA_CONTROLLEN           8
752 #define CTL_VOL                 -1
753 #define CTL_VNO                 -1
754 #define CTL_UNI                 -1
755 #define CTL_INO                 -1
756 #define CTL_FILE                "/coda/.CONTROL"
757
758
759 #define IS_CTL_FID(fidp)        ((fidp)->Volume == CTL_VOL &&\
760                                  (fidp)->Vnode == CTL_VNO &&\
761                                  (fidp)->Unique == CTL_UNI)
762 #endif 
763