// 1394.h - declarations to allow compilation of the C code

#define fork                                // fork removed from compiled C code
#define join                                // join removed from compiled C code 

typedef unsigned long quadlet;
typedef unsigned char byte;
typedef long eventVar;                      // event type, allows 32 events
typedef int dataBit;

void signal(int event);                     // Sets event status to the value specified
eventVar wait_event(eventVar event_mask);   // Await the indicated event(s), return events signaled
void wait_time(float time);

// C code assumes that the phase relationships of the clocks is constant

#define PH_BIT_CLOCK          0x20000000    // derived from PHY_SPEED
#define PH_DS_BIT_CLOCK       0x40000000    // derived from DS_PHY_SPEED
