CTools is a library of generic C data structures and algorithms written in ANSI C (C89).