Deleted Added
full compact
svc.h (8858) svc.h (13771)
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
8 *
9 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
8 *
9 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
10 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
10 * WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
11 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
12 *
13 * Sun RPC is provided with no support and without any obligation on the
14 * part of Sun Microsystems, Inc. to assist in its use, correction,
15 * modification or enhancement.
16 *
17 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
18 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC

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

23 * Sun has been advised of the possibility of such damages.
24 *
25 * Sun Microsystems, Inc.
26 * 2550 Garcia Avenue
27 * Mountain View, California 94043
28 *
29 * from: @(#)svc.h 1.20 88/02/08 SMI
30 * from: @(#)svc.h 2.2 88/07/29 4.0 RPCSRC
11 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
12 *
13 * Sun RPC is provided with no support and without any obligation on the
14 * part of Sun Microsystems, Inc. to assist in its use, correction,
15 * modification or enhancement.
16 *
17 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
18 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC

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

23 * Sun has been advised of the possibility of such damages.
24 *
25 * Sun Microsystems, Inc.
26 * 2550 Garcia Avenue
27 * Mountain View, California 94043
28 *
29 * from: @(#)svc.h 1.20 88/02/08 SMI
30 * from: @(#)svc.h 2.2 88/07/29 4.0 RPCSRC
31 * $Id: svc.h,v 1.3 1995/02/24 08:57:45 phk Exp $
31 * $Id: svc.h,v 1.4 1995/05/30 04:55:28 rgrimes Exp $
32 */
33
34/*
35 * svc.h, Server-side remote procedure call interface.
36 *
37 * Copyright (C) 1984, Sun Microsystems, Inc.
38 */
39

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

71
72/*
73 * Server side transport handle
74 */
75typedef struct {
76 int xp_sock;
77 u_short xp_port; /* associated port number */
78 struct xp_ops {
32 */
33
34/*
35 * svc.h, Server-side remote procedure call interface.
36 *
37 * Copyright (C) 1984, Sun Microsystems, Inc.
38 */
39

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

71
72/*
73 * Server side transport handle
74 */
75typedef struct {
76 int xp_sock;
77 u_short xp_port; /* associated port number */
78 struct xp_ops {
79 bool_t (*xp_recv)(); /* receive incomming requests */
79 bool_t (*xp_recv)(); /* receive incoming requests */
80 enum xprt_stat (*xp_stat)(); /* get transport status */
81 bool_t (*xp_getargs)(); /* get arguments */
82 bool_t (*xp_reply)(); /* send reply */
83 bool_t (*xp_freeargs)();/* free mem allocated for args */
84 void (*xp_destroy)(); /* destroy this struct */
85 } *xp_ops;
86 int xp_addrlen; /* length of remote address */
87 struct sockaddr_in xp_raddr; /* remote address */

--- 215 unchanged lines hidden ---
80 enum xprt_stat (*xp_stat)(); /* get transport status */
81 bool_t (*xp_getargs)(); /* get arguments */
82 bool_t (*xp_reply)(); /* send reply */
83 bool_t (*xp_freeargs)();/* free mem allocated for args */
84 void (*xp_destroy)(); /* destroy this struct */
85 } *xp_ops;
86 int xp_addrlen; /* length of remote address */
87 struct sockaddr_in xp_raddr; /* remote address */

--- 215 unchanged lines hidden ---