Struct member check and make header by context