Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libc/rpc Pull up revision 1.2 (requested by wiz):
details: https://anonhg.NetBSD.org/src/rev/00588a02eafe
branches: netbsd-1-5
changeset: 491432:00588a02eafe
user: he <he%NetBSD.org@localhost>
date: Thu Apr 26 12:16:56 2001 +0000
description:
Pull up revision 1.2 (requested by wiz):
Correct select(2) reference; order SEE ALSO; whitespace and
punctuation fixes.
diffstat:
lib/libc/rpc/rpc_svc_reg.3 | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diffs (91 lines):
diff -r 38948fd34d84 -r 00588a02eafe lib/libc/rpc/rpc_svc_reg.3
--- a/lib/libc/rpc/rpc_svc_reg.3 Thu Apr 26 12:15:11 2001 +0000
+++ b/lib/libc/rpc/rpc_svc_reg.3 Thu Apr 26 12:16:56 2001 +0000
@@ -2,17 +2,17 @@
.\" Copyright 1989 AT&T
.\" @(#)rpc_svc_call 1.6 89/07/20 SMI;
.\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
-.\" $NetBSD: rpc_svc_reg.3,v 1.1 2000/06/02 23:11:14 fvdl Exp $
+.\" $NetBSD: rpc_svc_reg.3,v 1.1.2.1 2001/04/26 12:16:56 he Exp $
.Dd May 3, 1993
.Dt RPC_SVC_REG 3
.Sh NAME
-.Nm rpc_svc_reg,
-.Nm rpc_reg,
-.Nm svc_reg,
-.Nm svc_unreg,
-.Nm svc_auth_reg,
-.Nm xprt_register,
-.Nm xprt_unregister
+.Nm rpc_svc_reg ,
+.Nm rpc_reg ,
+.Nm svc_reg ,
+.Nm svc_unreg ,
+.Nm svc_auth_reg ,
+.Nm xprt_register ,
+.Nm xprt_unregister
.Nd library routines for registering servers
.Sh LIBRARY
.Lb libc
@@ -23,7 +23,7 @@
.Ft int
.Fn svc_reg "const SVCXPRT *xprt" "const rpcprog_t prognum" "const rpcvers_t versnum" "const void (*dispatch(struct svc_req *, SVCXPRT *)" "const struct netconfig *netconf"
.Ft void
-.Fn svc_unreg "const rpcprog_t prognum" "const rpcvers_t versnum"
+.Fn svc_unreg "const rpcprog_t prognum" "const rpcvers_t versnum"
.Ft int
.Fn svc_auth_reg "const int cred_flavor" "const enum auth_stat (*handler(struct svc_req *, truct rpc_msg *))"
.Ft void
@@ -34,8 +34,8 @@
These routines are a part of the RPC
library which allows the RPC
servers to register themselves with rpcbind
-(see
-.Xr rpcbind 8 ),
+(see
+.Xr rpcbind 8 ) ,
and associate the given program and version
number with the dispatch function.
When the RPC server receives a RPC request, the library invokes the
@@ -147,7 +147,7 @@
.Fa handler
procedure will be called with two parameters
.Fa "struct svc_req *rqst" ,
-and
+and
.Fa "struct rpc_msg * msg" ,
and is expected to return a valid
.Vt "enum auth_stat"
@@ -168,9 +168,9 @@
.Fa xprt
is created, it is registered with the RPC
service package. This routine modifies the global variable
-.Va svc_fdset
+.Va svc_fdset
(see
-.Xr rpc_svc_calls 3 ).
+.Xr rpc_svc_calls 3 ) .
Service implementors usually do not need this routine.
.Pp
.It Fn xprt_unregister
@@ -179,16 +179,16 @@
is destroyed, it unregisters itself with the
RPC service package.
This routine modifies the global variable
-.Va svc_fdset
+.Va svc_fdset
(see
-.Xr rpc_svc_calls 3 ).
+.Xr rpc_svc_calls 3 ) .
Service implementors usually do not need this routine.
.El
.Sh SEE ALSO
-.Xr rpcbind 8 ,
+.Xr select 2 ,
.Xr rpc 3 ,
.Xr rpc_svc_calls 3 ,
.Xr rpc_svc_create 3 ,
.Xr rpc_svc_err 3 ,
.Xr rpcbind 3 ,
-.Xr select 3
+.Xr rpcbind 8
Home |
Main Index |
Thread Index |
Old Index