Does anybody possess a snippit of code to parse apache2 logs with ANSI C?

From the top my mind, MergeLog comes with a fundamental parser for apache access logs.