home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / mach / doc / unpublished / examples / random.defs.Z / random.defs
Encoding:
Text File  |  1989-12-06  |  287 b   |  16 lines

  1. subsystem random 500;
  2.  
  3. #include <mach/std_types.defs>
  4.  
  5. type string25    = (MSG_TYPE_STRING_C,8*25);
  6.  
  7. import "random_types.h";
  8.  
  9. routine get_random(
  10.         requestport     server_port    : port_t;
  11.         out        num        : int);
  12.  
  13. routine get_secret(
  14.         requestport    server_port    : port_t;
  15.         out        password    : string25);
  16.