Data structures for C library