[db-wg] converting a C class from PI to PA