C wrapper library for the pco communication protocol