What is your intention with: typedefstruct metablith* tdeikth;?
Did you intent to create some synonym for struct? Or not? I guess not.
Your next lines won't work because of this either. You declare it as: void add_to_list(struct , struct , struct); that does not make much sense. void check_name(struct );
with this typedefstruct metablith* tdeikth; i was hoping to create a pointer to type metablith variables, thats why i declare my functions with "tdeikth", to work with pointers.