/* date.x - description of remote date service */ /* we define two procedures: */ /* bin_date_1 returns the time in binary format */ /* (seconds since Jan 1, 1970 00:00:00 GMT) */ /* str_date_1 converts a binary time to a readable date string */ program DATE_PROG { version DATE_VERS { long BIN_DATE(void) = 1; /* procedure number = 1 */ string STR_DATE(long) = 2; /* procedure number = 2 */ } = 1; } = 0x31415926;