Format modules follow a simple API. The general rules are that they return 0 on success, and -1 and set trace error on failure. Documentation about what functions they implement is found in libtrace_int.h Notes: * libtrace will automatically "pause" an input if it is not already paused before calling the "close" method.