parsenfsfh.c (17681) | parsenfsfh.c (18976) |
---|---|
1#ifndef lint 2static char *RCSid = "$Header: parsenfsfh.c,v 1.9 95/10/19 20:27:44 leres Exp $"; 3#endif 4 5/* 6 * parsenfsfh.c - portable parser for NFS file handles 7 * uses all sorts of heuristics 8 * --- 60 unchanged lines hidden (view full) --- 69 /* on 32-bit systems ignore high-order bits */ 70#define make_uint48(msb,b,c,d,e,lsb)\ 71 ((lsb) + ((e)<<8) + ((d)<<16) + ((c)<<24)) 72#endif 73 74static int is_UCX(unsigned char *); 75 76void | 1#ifndef lint 2static char *RCSid = "$Header: parsenfsfh.c,v 1.9 95/10/19 20:27:44 leres Exp $"; 3#endif 4 5/* 6 * parsenfsfh.c - portable parser for NFS file handles 7 * uses all sorts of heuristics 8 * --- 60 unchanged lines hidden (view full) --- 69 /* on 32-bit systems ignore high-order bits */ 70#define make_uint48(msb,b,c,d,e,lsb)\ 71 ((lsb) + ((e)<<8) + ((d)<<16) + ((c)<<24)) 72#endif 73 74static int is_UCX(unsigned char *); 75 76void |
77Parse_fh(fh, fsidp, inop, osnamep, fsnamep, ourself) | 77Parse_fh(fh, len, fsidp, inop, osnamep, fsnamep, ourself) |
78register caddr_t *fh; | 78register caddr_t *fh; |
79int len; |
|
79my_fsid *fsidp; 80ino_t *inop; 81char **osnamep; /* if non-NULL, return OS name here */ 82char **fsnamep; /* if non-NULL, return server fs name here (for VMS) */ 83int ourself; /* true if file handle was generated on this host */ 84{ 85 register unsigned char *fhp = (unsigned char *)fh; 86 u_int32_t temp; --- 333 unchanged lines hidden --- | 80my_fsid *fsidp; 81ino_t *inop; 82char **osnamep; /* if non-NULL, return OS name here */ 83char **fsnamep; /* if non-NULL, return server fs name here (for VMS) */ 84int ourself; /* true if file handle was generated on this host */ 85{ 86 register unsigned char *fhp = (unsigned char *)fh; 87 u_int32_t temp; --- 333 unchanged lines hidden --- |