Libpsht is a collection of algorithms for efficient conversion between maps on the sphere and their spherical harmonic coefficients. It supports a wide range of pixelisations (including HEALPix, GLESP, and ECP).
Development for this libary has stopped; its successor is libsharp
(http://sourceforge.net/projects/libsharp).