> anything really a pain without some sort of standard container library.
It's certainly not standard, but I wrote a nice little generic list library you might be interested in: http://github.com/udp/list
It uses GNU extensions, but can fallback on C++ instead if you need to build with MSVC.