Refined csearch_struct algorithm
combined searching for structs and enums into one function and sepearted them with proprocesser definitions in csearch.h