xdr_reference.c (8870) | xdr_reference.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_reference.c 1.11 87/08/11 SMI";*/ 32/*static char *sccsid = "from: @(#)xdr_reference.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_reference.c 1.11 87/08/11 SMI";*/ 32/*static char *sccsid = "from: @(#)xdr_reference.c 2.1 88/07/29 4.0 RPCSRC";*/ |
33static char *rcsid = "$Id: xdr_reference.c,v 1.1 1994/08/07 18:39:34 wollman Exp $"; | 33static char *rcsid = "$Id: xdr_reference.c,v 1.2 1995/05/30 05:42:12 rgrimes Exp $"; |
34#endif 35 36/* 37 * xdr_reference.c, Generic XDR routines impelmentation. 38 * 39 * Copyright (C) 1987, Sun Microsystems, Inc. 40 * 41 * These are the "non-trivial" xdr primitives used to serialize and de-serialize 42 * "pointers". See xdr.h for more info on the interface to xdr. 43 */ 44 45#include <stdio.h> | 34#endif 35 36/* 37 * xdr_reference.c, Generic XDR routines impelmentation. 38 * 39 * Copyright (C) 1987, Sun Microsystems, Inc. 40 * 41 * These are the "non-trivial" xdr primitives used to serialize and de-serialize 42 * "pointers". 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> |
|
46#include <rpc/types.h> 47#include <rpc/xdr.h> 48 49#define LASTUNSIGNED ((u_int)0-1) 50 51/* 52 * XDR an indirect pointer 53 * xdr_reference is for recursively translating a structure that is --- 81 unchanged lines hidden --- | 48#include <rpc/types.h> 49#include <rpc/xdr.h> 50 51#define LASTUNSIGNED ((u_int)0-1) 52 53/* 54 * XDR an indirect pointer 55 * xdr_reference is for recursively translating a structure that is --- 81 unchanged lines hidden --- |