Deleted Added
full compact
svc.c (92905) svc.c (92941)
1/* $NetBSD: svc.c,v 1.21 2000/07/06 03:10:35 christos Exp $ */
2
3/*
4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
5 * unrestricted use provided that this legend is included on all tape
6 * media and as a part of the software program in whole or part. Users
7 * may copy or modify Sun RPC without charge, but are not authorized
8 * to license or distribute it to anyone else except as part of a product or

--- 18 unchanged lines hidden (view full) ---

27 * Sun Microsystems, Inc.
28 * 2550 Garcia Avenue
29 * Mountain View, California 94043
30 */
31
32#if defined(LIBC_SCCS) && !defined(lint)
33/*static char *sccsid = "from: @(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";*/
34/*static char *sccsid = "from: @(#)svc.c 2.4 88/08/11 4.0 RPCSRC";*/
1/* $NetBSD: svc.c,v 1.21 2000/07/06 03:10:35 christos Exp $ */
2
3/*
4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
5 * unrestricted use provided that this legend is included on all tape
6 * media and as a part of the software program in whole or part. Users
7 * may copy or modify Sun RPC without charge, but are not authorized
8 * to license or distribute it to anyone else except as part of a product or

--- 18 unchanged lines hidden (view full) ---

27 * Sun Microsystems, Inc.
28 * 2550 Garcia Avenue
29 * Mountain View, California 94043
30 */
31
32#if defined(LIBC_SCCS) && !defined(lint)
33/*static char *sccsid = "from: @(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";*/
34/*static char *sccsid = "from: @(#)svc.c 2.4 88/08/11 4.0 RPCSRC";*/
35static char *rcsid = "$FreeBSD: head/lib/libc/rpc/svc.c 92905 2002-03-21 22:49:10Z obrien $";
35static char *rcsid = "$FreeBSD: head/lib/libc/rpc/svc.c 92941 2002-03-22 09:22:15Z obrien $";
36#endif
37
38/*
39 * svc.c, Server-side remote procedure call interface.
40 *
41 * There are two sets of procedures here. The xprt routines are
42 * for handling transport handles. The svc routines handle the
43 * list of service routines.

--- 39 unchanged lines hidden (view full) ---

83 rpcvers_t sc_vers;
84 char *sc_netid;
85 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
86} *svc_head;
87
88extern rwlock_t svc_lock;
89extern rwlock_t svc_fd_lock;
90
36#endif
37
38/*
39 * svc.c, Server-side remote procedure call interface.
40 *
41 * There are two sets of procedures here. The xprt routines are
42 * for handling transport handles. The svc routines handle the
43 * list of service routines.

--- 39 unchanged lines hidden (view full) ---

83 rpcvers_t sc_vers;
84 char *sc_netid;
85 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
86} *svc_head;
87
88extern rwlock_t svc_lock;
89extern rwlock_t svc_fd_lock;
90
91static struct svc_callout *svc_find __P((rpcprog_t, rpcvers_t,
92 struct svc_callout **, char *));
91static struct svc_callout *svc_find(rpcprog_t, rpcvers_t,
92 struct svc_callout **, char *);
93
94/* *************** SVCXPRT related stuff **************** */
95
96/*
97 * Activate a transport handle.
98 */
99void
100xprt_register(xprt)

--- 616 unchanged lines hidden ---
93
94/* *************** SVCXPRT related stuff **************** */
95
96/*
97 * Activate a transport handle.
98 */
99void
100xprt_register(xprt)

--- 616 unchanged lines hidden ---