Update common.h

I add code in the typedef struct{} which is missing code