xdr_array.c (8870) | xdr_array.c (11669) |
---|---|
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 * --- 16 unchanged lines hidden (view full) --- 25 * Sun Microsystems, Inc. 26 * 2550 Garcia Avenue 27 * Mountain View, California 94043 28 */ 29 30#if defined(LIBC_SCCS) && !defined(lint) 31/*static char *sccsid = "from: @(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";*/ 32/*static char *sccsid = "from: @(#)xdr_array.c 2.1 88/07/29 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 * --- 16 unchanged lines hidden (view full) --- 25 * Sun Microsystems, Inc. 26 * 2550 Garcia Avenue 27 * Mountain View, California 94043 28 */ 29 30#if defined(LIBC_SCCS) && !defined(lint) 31/*static char *sccsid = "from: @(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";*/ 32/*static char *sccsid = "from: @(#)xdr_array.c 2.1 88/07/29 4.0 RPCSRC";*/ |
33static char *rcsid = "$Id: xdr_array.c,v 1.1 1994/08/07 18:39:31 wollman Exp $"; | 33static char *rcsid = "$Id: xdr_array.c,v 1.2 1995/05/30 05:42:04 rgrimes Exp $"; |
34#endif 35 36/* 37 * xdr_array.c, Generic XDR routines impelmentation. 38 * 39 * Copyright (C) 1984, Sun Microsystems, Inc. 40 * 41 * These are the "non-trivial" xdr primitives used to serialize and de-serialize 42 * arrays. See xdr.h for more info on the interface to xdr. 43 */ 44 45#include <stdio.h> 46#include <stdlib.h> | 34#endif 35 36/* 37 * xdr_array.c, Generic XDR routines impelmentation. 38 * 39 * Copyright (C) 1984, Sun Microsystems, Inc. 40 * 41 * These are the "non-trivial" xdr primitives used to serialize and de-serialize 42 * arrays. See xdr.h for more info on the interface to xdr. 43 */ 44 45#include <stdio.h> 46#include <stdlib.h> |
47#include <string.h> |
|
47#include <rpc/types.h> 48#include <rpc/xdr.h> 49 50#define LASTUNSIGNED ((u_int)0-1) 51 52 53/* 54 * XDR an array of arbitrary elements --- 101 unchanged lines hidden --- | 48#include <rpc/types.h> 49#include <rpc/xdr.h> 50 51#define LASTUNSIGNED ((u_int)0-1) 52 53 54/* 55 * XDR an array of arbitrary elements --- 101 unchanged lines hidden --- |