1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
typedef struct vmidi_devc { int dev; /* State variables */ int opened; /* MIDI fields */ int my_mididev; int pair_mididev; int input_opened; int intr_active; void (*midi_input_intr) (int dev, unsigned char data); } vmidi_devc;