So it seems this code is using a C-based (I have seen no hint of C++ in this code, so I think it's C) linked list library.