summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lib/inflate.h (renamed from include/lib/deflate.h)6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/lib/deflate.h b/include/lib/inflate.h
index 39fc128..575be4a 100644
--- a/include/lib/deflate.h
+++ b/include/lib/inflate.h
@@ -1,4 +1,6 @@
/*
+ * zlib-deflate-nostdlib
+ *
* Copyright 2021 Daniel Friesel
*
* SPDX-License-Identifier: BSD-2-Clause
@@ -15,7 +17,7 @@
#define DEFLATE_ERR_FCHECK (-7)
#define DEFLATE_ERR_NLEN (-8)
-int16_t deflate(unsigned char *input_buf, uint16_t input_len,
+int16_t inflate(unsigned char *input_buf, uint16_t input_len,
unsigned char *output_buf, uint16_t output_len);
-int16_t deflate_zlib(unsigned char *input_buf, uint16_t input_len,
+int16_t inflate_zlib(unsigned char *input_buf, uint16_t input_len,
unsigned char *output_buf, uint16_t output_len);