Deleted Added
full compact
svc.c (290253) svc.c (298830)
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 290253 2015-11-02 01:22:06Z ngie $");
36__FBSDID("$FreeBSD: head/lib/libc/rpc/svc.c 298830 2016-04-30 01:24:24Z pfg $");
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 *

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

69#define version_keepquiet(xp) (SVC_EXT(xp)->xp_flags & SVC_VERSQUIET)
70
71#define max(a, b) (a > b ? a : b)
72
73/*
74 * The services list
75 * Each entry represents a set of procedures (an rpc program).
76 * The dispatch routine takes request structs and runs the
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 *

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

69#define version_keepquiet(xp) (SVC_EXT(xp)->xp_flags & SVC_VERSQUIET)
70
71#define max(a, b) (a > b ? a : b)
72
73/*
74 * The services list
75 * Each entry represents a set of procedures (an rpc program).
76 * The dispatch routine takes request structs and runs the
77 * apropriate procedure.
77 * appropriate procedure.
78 */
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;

--- 674 unchanged lines hidden ---
78 */
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;

--- 674 unchanged lines hidden ---