27 #ifndef SQUASH_STATUS_H
28 #define SQUASH_STATUS_H
30 #if !defined (SQUASH_H_INSIDE) && !defined (SQUASH_COMPILATION)
31 #error "Only <squash/squash.h> can be included directly."
Performing the requested operation from the current state is not supported.
Supplied buffer was empty.
The requested operation is not available.
A buffer passed to squash was invalid.
Reached the end of the stream while decoding.
Operation partially completed.
The requested codec could not be found.
SQUASH_API const char * squash_status_to_string(SquashStatus status)
Get a string representation of a status code.
Insufficient space in buffer.
Not enough memory is available.
SquashStatus
Status codes.
SQUASH_API SquashStatus squash_error(SquashStatus status)
Emit an error.
One or more parameter values was not valid.
Unable to load the requested resource.
Operation completed successfully.
One or more of the parameters were not valid.