/*****************************************************************/
/**                                                             **/
/**             (C) Copyright 1992 the Regents of the           **/
/**        University of California.  All Rights Reserved.      **/
/**                                                             **/
/**        This work was produced under the sponsorship of      **/
/**         the U.S. Department of Energy.  The Government      **/
/**                retains certain rights therein.              **/
/**                                                             **/
/**                         Written by                          **/
/**         Distributed Programming Environments Project        **/
/**           Computer Software and Networking Division,        **/
/**                   Livermore Computer Center,                **/
/**            Lawrence Livermore National Laboratory           **/
/**                                                             **/
/*****************************************************************/
 
Interface sample; 
 
   Invoke ike 52 
	Integer(8); 
 
   Invoke jfk 60 
	Integer(7),Integer(9); 

End; 
  

main(argc,argv) 
   int argc; 
   char *argv[]; 
{ 
   Integer(7) i7; 
   Integer(9) i9; 
 
   Control (sample) inst; 
  
   int i; 
 
#ifdef CRAY 
   i7 = 0x00010203040506; 
#else 
   for (i=0; i<7; i++) 
      i7.val[i] = i; 
#endif 
   for (i=0; i<9; i++) 
      i9.val[i] = 0xFF; 
 
   if (argc != 2) 
      exit(1);    

/***************** send it out ************************/

   Bind_STUB(inst,argv[1],"w",Asn_1_ber); 
 
#ifdef CRAY 
   Give inst ike(65537);
#endif 
 
   Give inst 
   { 
      jfk(i7,i9); 
   } 
 
   Unbind(inst); 

   printf("test completed\n");
   return(0); 
} 
