/* ** Copyright (c) 1991, by ** Process Software Corporation ** Framingham, Massachusetts */ /* ** RPCGEN input file for the sysinfo RPC broadcasting example. ** ** This file is used by RPCGEN to create the files SYSINFO.H and SYSINFO_XDR.C ** The client and server files were developed from scratch. */ const MAX_HOST_LEN = 256; /* maximum host name length */ const MAX_OS_LEN = 64; /* maximum operating system name length */ /* ** This is the information that the server sends to the client */ struct system_info { string si_node_name< MAX_HOST_LEN>; string si_op_sys< MAX_OS_LEN>; }; program SYSTEM_INFO_PROG { version SYSTEM_INFO_VERS_1 { system_info SYSTEM_INFO_PROC_1( void) = 1; } = 1; } = 0x20000002; /* end file SYSINFO.X */