LSM303DLHC driver - anyone have one?

I am looking for a driver for the LSM303 that can provide calibration and heading output. I have pitch and roll working and now need heading for 0-360.