/****************************************************/
/*                                                  */
/* This is an example of use of the rockbits module */
/*                                                  */
/* Some parts are missing, so do not compile it!    */
/*                                                  */
/****************************************************/

#include <rockbits.h>

/* read data from a file and print out a field */

int main()
{

 for (i=0; i<100; i++)
   {
     int afifo;
     int aeef;

     fscanf(afile,"%x\n",&afifo);

     aeef = rockb_get_eef(afifo);

     printf("%5i: eef: %i\n",i,aeef);
   }

}