Tag download data structure in c