The way tD_Datura_v says is the best way, IMHO, but others may disagree.
So i would use define the structs this way
typedef struct Cue {
STRING* entname;
VECTOR startpos;
VECTOR endpos;
ANGLE startang;
ANGLE endang;
VECTOR startscale;
VECTOR endscale;
STRING* anim; //animation name- or NULL
var animloops;
var starttime;
var duration;
struct Cue* next; //used when the cue is in the linked list of active cues
struct Cue* prev;
} Cue;
typedef struct Keyframe {
var cuetime;
var actions_count;
Cue* actions[64];
} Keyframe;