Generic linked list implementation in pure C.