/* this code will be translated into the needed stubs and headers */ /* use: rpcgen hello.x; */ struct result { string hw<32>; }; program HELLOPROG { /* value to register the program */ version HELLOVERS { /* version must be assigned a value */ result HELLOWORLD(void) = 1; /* this is the service function */ } =1; /* version value */ } = 0x20000044; /* program value */