pgnlib is a C++ class library for linux intending to provide a simple programming interface to PGN chess games collections.
http://sourceforge.net/projects/pgnlib/