summaryrefslogtreecommitdiff
path: root/src/lib/compress/compress.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/compress/compress.h')
-rw-r--r--src/lib/compress/compress.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/compress/compress.h b/src/lib/compress/compress.h
index f88cf2cb2d..ae98e1aaef 100644
--- a/src/lib/compress/compress.h
+++ b/src/lib/compress/compress.h
@@ -92,4 +92,8 @@ size_t tor_compress_state_size(const tor_compress_state_t *state);
void tor_compress_init(void);
void tor_compress_log_init_warnings(void);
+struct buf_t;
+int buf_add_compress(struct buf_t *buf, struct tor_compress_state_t *state,
+ const char *data, size_t data_len, int done);
+
#endif /* !defined(TOR_COMPRESS_H) */