GLib is a library which includes routines for C, providing lists, trees, hashes, memory allocation functionality and many other things.