xdr_rec.c (1902) | xdr_rec.c (1916) |
---|---|
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 * --- 15 unchanged lines hidden (view full) --- 24 * 25 * Sun Microsystems, Inc. 26 * 2550 Garcia Avenue 27 * Mountain View, California 94043 28 */ 29#if defined(LIBC_SCCS) && !defined(lint) 30/*static char *sccsid = "from: @(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro";*/ 31/*static char *sccsid = "from: @(#)xdr_rec.c 2.2 88/08/01 4.0 RPCSRC";*/ | 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 * --- 15 unchanged lines hidden (view full) --- 24 * 25 * Sun Microsystems, Inc. 26 * 2550 Garcia Avenue 27 * Mountain View, California 94043 28 */ 29#if defined(LIBC_SCCS) && !defined(lint) 30/*static char *sccsid = "from: @(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro";*/ 31/*static char *sccsid = "from: @(#)xdr_rec.c 2.2 88/08/01 4.0 RPCSRC";*/ |
32static char *rcsid = "$Id: xdr_rec.c,v 1.1 1993/10/27 05:41:12 paul Exp $"; | 32static char *rcsid = "$Id: xdr_rec.c,v 1.1 1994/08/07 18:39:33 wollman Exp $"; |
33#endif 34 35/* 36 * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking" 37 * layer above tcp (for rpc's use). 38 * 39 * Copyright (C) 1984, Sun Microsystems, Inc. 40 * --- 9 unchanged lines hidden (view full) --- 50 */ 51 52#include <stdio.h> 53#include <stdlib.h> 54#include <rpc/types.h> 55#include <rpc/xdr.h> 56#include <netinet/in.h> 57 | 33#endif 34 35/* 36 * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking" 37 * layer above tcp (for rpc's use). 38 * 39 * Copyright (C) 1984, Sun Microsystems, Inc. 40 * --- 9 unchanged lines hidden (view full) --- 50 */ 51 52#include <stdio.h> 53#include <stdlib.h> 54#include <rpc/types.h> 55#include <rpc/xdr.h> 56#include <netinet/in.h> 57 |
58extern long lseek(); 59 | |
60static u_int fix_buf_size(); 61static bool_t flush_out(); 62static bool_t get_input_bytes(); 63static bool_t set_input_fragment(); 64static bool_t skip_input_bytes(); 65 66static bool_t xdrrec_getlong(); 67static bool_t xdrrec_putlong(); --- 519 unchanged lines hidden --- | 58static u_int fix_buf_size(); 59static bool_t flush_out(); 60static bool_t get_input_bytes(); 61static bool_t set_input_fragment(); 62static bool_t skip_input_bytes(); 63 64static bool_t xdrrec_getlong(); 65static bool_t xdrrec_putlong(); --- 519 unchanged lines hidden --- |