aboutsummaryrefslogtreecommitdiff
path: root/src/common/torgzip.h
diff options
context:
space:
mode:
authorKevin Butler <haqkrs@gmail.com>2013-09-01 17:38:01 +0100
committerKevin Butler <haqkrs@gmail.com>2013-09-01 17:38:01 +0100
commit6e17fa6d7ba57b990dd929e07969d35dc82fc46b (patch)
treecb6d7b7e79941df0dec6b7379821c6e8f2cbebe8 /src/common/torgzip.h
parent00bcc25d05dc0273323a2cae20c6aa62afd4b50a (diff)
downloadtor-6e17fa6d7ba57b990dd929e07969d35dc82fc46b.tar
tor-6e17fa6d7ba57b990dd929e07969d35dc82fc46b.tar.gz
Added --library-versions flag to print the compile time and runtime versions of libevent, openssl and zlib. Partially implements #6384.
Diffstat (limited to 'src/common/torgzip.h')
-rw-r--r--src/common/torgzip.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/torgzip.h b/src/common/torgzip.h
index be1016445..5db03fe6e 100644
--- a/src/common/torgzip.h
+++ b/src/common/torgzip.h
@@ -32,6 +32,12 @@ tor_gzip_uncompress(char **out, size_t *out_len,
int is_gzip_supported(void);
+const char *
+tor_zlib_get_version_str(void);
+
+const char *
+tor_zlib_get_header_version_str(void);
+
compress_method_t detect_compression_method(const char *in, size_t in_len);
/** Return values from tor_zlib_process; see that function's documentation for