C implementation of a typed linked list
