I could do struct initialization with code:
struct struct_type_id struct_name_id = { value1, value2, value3 };
but could not with:
Will this work for you ?
typedef struct name_id {int value1; int value2; int value3;} NAME_ID; name_id mynameid = {0,1,2};