typedef struct Note Note; typedef struct Action Action; enum { Anone, Aplay, Arepeat, Astop, Aquit, }; struct Action { int action; Note *notes; int len; }; struct Note { Note *next; char *name; int t, len; int vol; }; void rollstart(char *path, double bpm); void discardact(Action *act); void dumpact(Action *act); extern Channel *rollchan;