svc.c (258578) | svc.c (264196) |
---|---|
1/* $NetBSD: svc.c,v 1.21 2000/07/06 03:10:35 christos Exp $ */ 2 3/*- 4 * Copyright (c) 2009, Sun Microsystems, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 19 unchanged lines hidden (view full) --- 28 * POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#if defined(LIBC_SCCS) && !defined(lint) 32static char *sccsid2 = "@(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro"; 33static char *sccsid = "@(#)svc.c 2.4 88/08/11 4.0 RPCSRC"; 34#endif 35#include <sys/cdefs.h> | 1/* $NetBSD: svc.c,v 1.21 2000/07/06 03:10:35 christos Exp $ */ 2 3/*- 4 * Copyright (c) 2009, Sun Microsystems, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 19 unchanged lines hidden (view full) --- 28 * POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#if defined(LIBC_SCCS) && !defined(lint) 32static char *sccsid2 = "@(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro"; 33static char *sccsid = "@(#)svc.c 2.4 88/08/11 4.0 RPCSRC"; 34#endif 35#include <sys/cdefs.h> |
36__FBSDID("$FreeBSD: head/lib/libc/rpc/svc.c 258578 2013-11-25 19:04:36Z hrs $"); | 36__FBSDID("$FreeBSD: head/lib/libc/rpc/svc.c 264196 2014-04-06 17:06:27Z theraven $"); |
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. 44 * --- 34 unchanged lines hidden (view full) --- 79static struct svc_callout { 80 struct svc_callout *sc_next; 81 rpcprog_t sc_prog; 82 rpcvers_t sc_vers; 83 char *sc_netid; 84 void (*sc_dispatch)(struct svc_req *, SVCXPRT *); 85} *svc_head; 86 | 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. 44 * --- 34 unchanged lines hidden (view full) --- 79static struct svc_callout { 80 struct svc_callout *sc_next; 81 rpcprog_t sc_prog; 82 rpcvers_t sc_vers; 83 char *sc_netid; 84 void (*sc_dispatch)(struct svc_req *, SVCXPRT *); 85} *svc_head; 86 |
87SVCXPRT **__svc_xports; 88int __svc_maxrec; 89 |
|
87static struct svc_callout *svc_find(rpcprog_t, rpcvers_t, 88 struct svc_callout **, char *); 89static void __xprt_do_unregister (SVCXPRT *xprt, bool_t dolock); 90 91/* *************** SVCXPRT related stuff **************** */ 92 93/* 94 * Activate a transport handle. --- 702 unchanged lines hidden --- | 90static struct svc_callout *svc_find(rpcprog_t, rpcvers_t, 91 struct svc_callout **, char *); 92static void __xprt_do_unregister (SVCXPRT *xprt, bool_t dolock); 93 94/* *************** SVCXPRT related stuff **************** */ 95 96/* 97 * Activate a transport handle. --- 702 unchanged lines hidden --- |