xdr_stdio.c (74462) | xdr_stdio.c (90868) |
---|---|
1/* $NetBSD: xdr_stdio.c,v 1.14 2000/01/22 22:19:19 mycroft 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 --- 19 unchanged lines hidden (view full) --- 28 * 2550 Garcia Avenue 29 * Mountain View, California 94043 30 */ 31 32#include <sys/cdefs.h> 33#if defined(LIBC_SCCS) && !defined(lint) 34/*static char *sccsid = "from: @(#)xdr_stdio.c 1.16 87/08/11 Copyr 1984 Sun Micro";*/ 35/*static char *sccsid = "from: @(#)xdr_stdio.c 2.1 88/07/29 4.0 RPCSRC";*/ | 1/* $NetBSD: xdr_stdio.c,v 1.14 2000/01/22 22:19:19 mycroft 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 --- 19 unchanged lines hidden (view full) --- 28 * 2550 Garcia Avenue 29 * Mountain View, California 94043 30 */ 31 32#include <sys/cdefs.h> 33#if defined(LIBC_SCCS) && !defined(lint) 34/*static char *sccsid = "from: @(#)xdr_stdio.c 1.16 87/08/11 Copyr 1984 Sun Micro";*/ 35/*static char *sccsid = "from: @(#)xdr_stdio.c 2.1 88/07/29 4.0 RPCSRC";*/ |
36static char *rcsid = "$FreeBSD: head/lib/libc/xdr/xdr_stdio.c 74462 2001-03-19 12:50:13Z alfred $"; | 36static char *rcsid = "$FreeBSD: head/lib/libc/xdr/xdr_stdio.c 90868 2002-02-18 20:35:27Z mike $"; |
37#endif 38 39/* 40 * xdr_stdio.c, XDR implementation on standard i/o file. 41 * 42 * Copyright (C) 1984, Sun Microsystems, Inc. 43 * 44 * This set of routines implements a XDR on a stdio stream. 45 * XDR_ENCODE serializes onto the stream, XDR_DECODE de-serializes 46 * from the stream. 47 */ 48 49#include "namespace.h" 50#include <stdio.h> 51 | 37#endif 38 39/* 40 * xdr_stdio.c, XDR implementation on standard i/o file. 41 * 42 * Copyright (C) 1984, Sun Microsystems, Inc. 43 * 44 * This set of routines implements a XDR on a stdio stream. 45 * XDR_ENCODE serializes onto the stream, XDR_DECODE de-serializes 46 * from the stream. 47 */ 48 49#include "namespace.h" 50#include <stdio.h> 51 |
52#include <arpa/inet.h> |
|
52#include <rpc/types.h> 53#include <rpc/xdr.h> 54#include "un-namespace.h" 55 56static void xdrstdio_destroy __P((XDR *)); 57static bool_t xdrstdio_getlong __P((XDR *, long *)); 58static bool_t xdrstdio_putlong __P((XDR *, const long *)); 59static bool_t xdrstdio_getbytes __P((XDR *, char *, u_int)); --- 135 unchanged lines hidden --- | 53#include <rpc/types.h> 54#include <rpc/xdr.h> 55#include "un-namespace.h" 56 57static void xdrstdio_destroy __P((XDR *)); 58static bool_t xdrstdio_getlong __P((XDR *, long *)); 59static bool_t xdrstdio_putlong __P((XDR *, const long *)); 60static bool_t xdrstdio_getbytes __P((XDR *, char *, u_int)); --- 135 unchanged lines hidden --- |