diff options
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/udeflate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lib/udeflate.h b/include/lib/udeflate.h index e751374..f3b1ff6 100644 --- a/include/lib/udeflate.h +++ b/include/lib/udeflate.h @@ -6,11 +6,12 @@ #include <stdint.h> -#define UDEFLATE_ERR_LENGTH (-1) +#define UDEFLATE_ERR_INPUT_LENGTH (-1) #define UDEFLATE_ERR_METHOD (-2) #define UDEFLATE_ERR_FDICT (-3) #define UDEFLATE_ERR_BLOCK (-4) #define UDEFLATE_ERR_CHECKSUM (-5) +#define UDEFLATE_ERR_OUTPUT_LENGTH (-6) int8_t udeflate(unsigned char *input_buf, uint16_t input_len, unsigned char *output_buf, uint16_t output_len); |