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