Added a control frame structure to shared.h