fill_in_struct function

Fill a vector of values into a structure list.