eMule Text Lists (DAT) Format
PeerGuardian Text Lists (P2P) Format
PeerGuardian Binary Lists (P2B) Format
A cross-platform C++ library for working with the P2P format is freely available here.
The source code of PeerGuardian Linux is in a public git repository.
Outdated PeerGuardian OSX code is also in this git repository
The old deprecated PG Windows code is in cvs and subversion repositories. PG Windows has been superseeded by PeerBlock. See there.
See here if you want to work on the code in the git repository.