/* msg.x: Remote message printing protocol 
 *
 * From rpcgen Programming Guide
 */

program MESSAGEPROG                   /* Define the remote program */
{
    version PRINTMESSAGEVERS          /* Establish interface for version 1 */
    {
        int PRINTMESSAGE(string) = 1; /* Define procedure 1 (in version 1) 
                                       * The string argument explicitly means
                                       * a null terminated character array */
    } = 1;
} = 0x4000001;

/* In short, a set of procedures are grouped into a version, and one
 * or more versions are grouped into a program 
*/