c version of legendary tag soup library