diff options
Diffstat (limited to 'sunrpc/rpcsvc')
-rw-r--r-- | sunrpc/rpcsvc/mount.x | 26 | ||||
-rw-r--r-- | sunrpc/rpcsvc/nfs_prot.x | 35 | ||||
-rw-r--r-- | sunrpc/rpcsvc/rex.x | 16 | ||||
-rw-r--r-- | sunrpc/rpcsvc/rusers.x | 16 | ||||
-rw-r--r-- | sunrpc/rpcsvc/sm_inter.x | 18 |
5 files changed, 55 insertions, 56 deletions
diff --git a/sunrpc/rpcsvc/mount.x b/sunrpc/rpcsvc/mount.x index 7e0d7f3ad6..310b4ca542 100644 --- a/sunrpc/rpcsvc/mount.x +++ b/sunrpc/rpcsvc/mount.x @@ -8,23 +8,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -45,10 +45,10 @@ const FHSIZE = 32; /* size in bytes of a file handle */ * or a directory. The file handle can contain whatever information the * server needs to distinguish an individual file. */ -typedef opaque fhandle[FHSIZE]; +typedef opaque fhandle[FHSIZE]; /* - * If a status of zero is returned, the call completed successfully, and + * If a status of zero is returned, the call completed successfully, and * a file handle for the directory follows. A non-zero status indicates * some sort of error. The status corresponds with UNIX error numbers. */ @@ -101,18 +101,18 @@ struct exportnode { program MOUNTPROG { /* * Version one of the mount protocol communicates with version two - * of the NFS protocol. The only connecting point is the fhandle + * of the NFS protocol. The only connecting point is the fhandle * structure, which is the same for both protocols. */ version MOUNTVERS { /* * Does no work. It is made available in all RPC services - * to allow server reponse testing and timing + * to allow server response testing and timing */ void MOUNTPROC_NULL(void) = 0; - /* + /* * If fhs_status is 0, then fhs_fhandle contains the * file handle for the directory. This file handle may * be used in the NFS protocol. This procedure also adds @@ -120,12 +120,12 @@ program MOUNTPROG { * the directory. * Unix authentication required. */ - fhstatus + fhstatus MOUNTPROC_MNT(dirpath) = 1; /* - * Returns the list of remotely mounted filesystems. The - * mountlist contains one entry for each hostname and + * Returns the list of remotely mounted filesystems. The + * mountlist contains one entry for each hostname and * directory pair. */ mountlist diff --git a/sunrpc/rpcsvc/nfs_prot.x b/sunrpc/rpcsvc/nfs_prot.x index 7633e5add4..630dab24d1 100644 --- a/sunrpc/rpcsvc/nfs_prot.x +++ b/sunrpc/rpcsvc/nfs_prot.x @@ -7,23 +7,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -99,7 +99,7 @@ struct nfs_fh { opaque data[NFS_FHSIZE]; }; -/* +/* * Timeval */ struct nfstime { @@ -118,7 +118,7 @@ struct fattr { unsigned uid; /* owner user id */ unsigned gid; /* owner group id */ unsigned size; /* file size in bytes */ - unsigned blocksize; /* prefered block size */ + unsigned blocksize; /* preferred block size */ unsigned rdev; /* special device # */ unsigned blocks; /* Kb of disk used by file */ unsigned fsid; /* device # */ @@ -141,7 +141,7 @@ struct sattr { }; -typedef string filename<NFS_MAXNAMLEN>; +typedef string filename<NFS_MAXNAMLEN>; typedef string nfspath<NFS_MAXPATHLEN>; /* @@ -215,7 +215,7 @@ default: }; /* - * Arguments to remote write + * Arguments to remote write */ struct writeargs { nfs_fh file; /* handle for file */ @@ -297,28 +297,28 @@ default: */ program NFS_PROGRAM { version NFS_VERSION { - void + void NFSPROC_NULL(void) = 0; - attrstat + attrstat NFSPROC_GETATTR(nfs_fh) = 1; - attrstat + attrstat NFSPROC_SETATTR(sattrargs) = 2; - void + void NFSPROC_ROOT(void) = 3; - diropres + diropres NFSPROC_LOOKUP(diropargs) = 4; - readlinkres + readlinkres NFSPROC_READLINK(nfs_fh) = 5; - readres + readres NFSPROC_READ(readargs) = 6; - void + void NFSPROC_WRITECACHE(void) = 7; attrstat @@ -352,4 +352,3 @@ program NFS_PROGRAM { NFSPROC_STATFS(nfs_fh) = 17; } = 2; } = 100003; - diff --git a/sunrpc/rpcsvc/rex.x b/sunrpc/rpcsvc/rex.x index 6063fdd28a..949d9f0747 100644 --- a/sunrpc/rpcsvc/rex.x +++ b/sunrpc/rpcsvc/rex.x @@ -8,23 +8,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -43,7 +43,7 @@ typedef string rexstring<1024>; const SIGINT = 2; /* interrupt */ /* - * Values for rst_flags, below + * Values for rst_flags, below */ const REX_INTERACTIVE = 1; /* interactive mode */ @@ -148,7 +148,7 @@ struct tchars { /* chars[2] == start output char */ /* chars[3] == stop output char */ /* chars[4] == end-of-file char */ - /* chars[5] == input delimeter (like nl) */ + /* chars[5] == input delimiter (like nl) */ }; struct ltchars { @@ -199,7 +199,7 @@ program REXPROG { /* * Start remote execution */ - rex_result + rex_result REXPROC_START(rex_start) = 1; /* diff --git a/sunrpc/rpcsvc/rusers.x b/sunrpc/rpcsvc/rusers.x index 86fca74f87..fdd1890e20 100644 --- a/sunrpc/rpcsvc/rusers.x +++ b/sunrpc/rpcsvc/rusers.x @@ -5,23 +5,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -96,7 +96,7 @@ program RUSERSPROG { % %/* % * This is the structure used in version 2 of the rusersd RPC service. -% * It corresponds to the utmp structure for BSD sytems. +% * It corresponds to the utmp structure for BSD systems. % */ %struct ru_utmp { % char ut_line[8]; /* tty name */ @@ -164,7 +164,7 @@ program RUSERSPROG { % XDR *xdrs; % struct ru_utmp **objpp; %{ -% if (!xdr_reference(xdrs, (char **) objpp, sizeof (struct ru_utmp), +% if (!xdr_reference(xdrs, (char **) objpp, sizeof (struct ru_utmp), % xdr_utmp)) { % return (FALSE); % } @@ -202,7 +202,7 @@ program RUSERSPROG { % XDR *xdrs; % struct utmpidle **objpp; %{ -% if (!xdr_reference(xdrs, (char **) objpp, sizeof (struct utmpidle), +% if (!xdr_reference(xdrs, (char **) objpp, sizeof (struct utmpidle), % xdr_utmpidle)) { % return (FALSE); % } diff --git a/sunrpc/rpcsvc/sm_inter.x b/sunrpc/rpcsvc/sm_inter.x index 2817ebfda3..06c8f06e30 100644 --- a/sunrpc/rpcsvc/sm_inter.x +++ b/sunrpc/rpcsvc/sm_inter.x @@ -8,23 +8,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -37,7 +37,7 @@ */ -program SM_PROG { +program SM_PROG { version SM_VERS { /* res_stat = stat_succ if status monitor agrees to monitor */ /* res_stat = stat_fail if status monitor cannot monitor */ @@ -67,7 +67,7 @@ struct sm_name { }; struct my_id { - string my_name<SM_MAXSTRLEN>; /* name of the site iniates the monitoring request*/ + string my_name<SM_MAXSTRLEN>; /* name of the site iniating the monitoring request*/ int my_prog; /* rpc program # of the requesting process */ int my_vers; /* rpc version # of the requesting process */ int my_proc; /* rpc procedure # of the requesting process */ @@ -86,7 +86,7 @@ struct mon{ /* - * state # of status monitor monitonically increases each time + * state # of status monitor monotonically increases each time * status of the site changes: * an even number (>= 0) indicates the site is down and * an odd number (> 0) indicates the site is up; @@ -105,7 +105,7 @@ struct sm_stat_res { int state; }; -/* +/* * structure of the status message sent back by the status monitor * when monitor site status changes */ |