Version 3 (modified by anonymous, 15 years ago) (diff)



Function that only return a success/failure, return 0 on success and -1 on failure and update the trace error (using trace_set_err).

types start with "libtrace_" and end with "_t" and are typedef'd.

exported functions start with "trace_".


This compatibility layer is used to wrap decompression functions and various I/O strategies depending on what is available for your host. see libtraceio.h for more information. Also see format_helper's trace_file_open(). Generally the state of the file after an error has occured is undefined.