This function parses a calibration file (produced by the comedi_calibrate program) and returns a pointer to a comedi_calibration_t which can be passed to the comedi_apply_parsed_calibration() function. When you are finished using the comedi_calibration_t, you should call comedi_cleanup_calibration() to free the resources associated with the comedi_calibration_t.
The comedi_get_default_calibration_path() function may be useful in conjunction with this function.