/* ** File name: SYSINFO_XDR.C ** ** Copyright (c) 1991, by ** Process Software Corporation ** Framingham, Massachusetts */ /* ** Except for the comments, this file is the output of RPCGEN. ** It is created by either of these commands: ** rpcgen -c -o sysinfo_xdr.c sysinfo.x ** rpcgen sysinfo.x */ #include "TCPWARE_INCLUDE:RPC.H" #include "SYSINFO.H" /******************** xdr_system_info() ********************/ /* ** A server sends a reply that contains 2 strings, one with the server's host ** name, the other with the host's operating system. */ bool_t xdr_system_info( xdrs, objp) XDR *xdrs; system_info *objp; { if( !xdr_string( xdrs, &objp->si_node_name, MAX_HOST_LEN)) return( FALSE); if( !xdr_string( xdrs, &objp->si_op_sys, MAX_OS_LEN)) return( FALSE); return( TRUE); } /* end file SYSINFO_XDR.C */