home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume27 / distributed-c-2.1 / part01 / examples / test / chris.dc < prev    next >
Text File  |  1993-12-22  |  307b  |  33 lines

  1. /* xdr.dc */
  2.  
  3. typedef struct s0_t {
  4.     int a;
  5. } S0T, S00T;
  6.  
  7. typedef S00T STRUCT0;
  8.  
  9. typedef STRUCT0 struct0;
  10.  
  11. typedef struct s1_t {
  12.     struct0 a;
  13.     float b;
  14. } S1T;
  15.  
  16. typedef struct s2_t {
  17.     unsigned int a;
  18.     float b;
  19.     S1T s1;
  20. } S2T;
  21.  
  22. process spec P1(S2T par1);
  23.  
  24. process body P1(par1)
  25. {
  26.     /* nothing */
  27. }
  28.  
  29. main()
  30. {
  31.  
  32. }
  33.