xiaoxiang781216 commented on a change in pull request #5039:
URL: https://github.com/apache/incubator-nuttx/pull/5039#discussion_r772356059
##########
File path: include/nuttx/streams.h
##########
@@ -173,6 +175,21 @@ struct lib_rawsostream_s
int fd;
};
+/* LZF compressed stream pipeline */
+
+#ifdef CONFIG_LIBC_LZF
+struct lib_lzfoutstream_s
+{
+ struct lib_outstream_s public;
+ FAR struct lib_outstream_s *backend;
+ lzf_state_t state;
+ size_t offset;
+ char in[LZF_MAX_HDR_SIZE +
Review comment:
move LZF_MAX_HDR_SIZE to header
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]