criutils is a library set written in C which make easier to work with strings, linked list, timestamps, databases (postgreSQL, xquery and sqlite) and CGI. You can imagine criutils like a little extension of glibc. Check the wiki for a full documentation.