We need to split irrecord into a separate library + a client. This way we will be able to test things in an automated way. It's also the foundations if anyone steps up to write a GUI.
This is a big change, and should probably not go into next release, Marking as 2.0 (for now to be interpreted as "future")
At a closer look, this doesn't really seems feasible. Another approach might be to refactor the output and perhaps also input parts as function pointers, keeping the control flow within current irrecord.
Making it a return-codes based API works. Fixed in [b0b70d]
Related
Commit: [b0b70d]