Deleted Added
full compact
clnt_vc.c (99996) clnt_vc.c (100001)
1/* $NetBSD: clnt_vc.c,v 1.4 2000/07/14 08:40:42 fvdl 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

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

30 */
31
32#if defined(LIBC_SCCS) && !defined(lint)
33static char *sccsid = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
34static char *sccsid = "@(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC";
35static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro";
36#endif
37#include <sys/cdefs.h>
1/* $NetBSD: clnt_vc.c,v 1.4 2000/07/14 08:40:42 fvdl 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

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

30 */
31
32#if defined(LIBC_SCCS) && !defined(lint)
33static char *sccsid = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
34static char *sccsid = "@(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC";
35static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro";
36#endif
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/lib/libc/rpc/clnt_vc.c 99996 2002-07-14 23:14:02Z alfred $");
38__FBSDID("$FreeBSD: head/lib/libc/rpc/clnt_vc.c 100001 2002-07-14 23:35:04Z alfred $");
39
40/*
41 * clnt_tcp.c, Implements a TCP/IP based, client side RPC.
42 *
43 * Copyright (C) 1984, Sun Microsystems, Inc.
44 *
45 * TCP based RPC supports 'batched calls'.
46 * A sequence of calls may be batched-up in a send buffer. The rpc call

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

154 * set this something more useful.
155 *
156 * fd should be an open socket
157 */
158CLIENT *
159clnt_vc_create(fd, raddr, prog, vers, sendsz, recvsz)
160 int fd; /* open file descriptor */
161 const struct netbuf *raddr; /* servers address */
39
40/*
41 * clnt_tcp.c, Implements a TCP/IP based, client side RPC.
42 *
43 * Copyright (C) 1984, Sun Microsystems, Inc.
44 *
45 * TCP based RPC supports 'batched calls'.
46 * A sequence of calls may be batched-up in a send buffer. The rpc call

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

154 * set this something more useful.
155 *
156 * fd should be an open socket
157 */
158CLIENT *
159clnt_vc_create(fd, raddr, prog, vers, sendsz, recvsz)
160 int fd; /* open file descriptor */
161 const struct netbuf *raddr; /* servers address */
162 rpcprog_t prog; /* program number */
163 rpcvers_t vers; /* version number */
162 const rpcprog_t prog; /* program number */
163 const rpcvers_t vers; /* version number */
164 u_int sendsz; /* buffer recv size */
165 u_int recvsz; /* buffer send size */
166{
167 CLIENT *cl; /* client handle */
168 struct ct_data *ct = NULL; /* client handle */
169 struct timeval now;
170 struct rpc_msg call_msg;
171 static u_int32_t disrupt;

--- 676 unchanged lines hidden ---
164 u_int sendsz; /* buffer recv size */
165 u_int recvsz; /* buffer send size */
166{
167 CLIENT *cl; /* client handle */
168 struct ct_data *ct = NULL; /* client handle */
169 struct timeval now;
170 struct rpc_msg call_msg;
171 static u_int32_t disrupt;

--- 676 unchanged lines hidden ---