struct someEvent { int shouldRemove; struct someEvent *prev; struct someEvent *next; } * someEvent; struct someEvent *someEventQueue = NULL;