diff options
author | Kevin Butler <haqkrs@gmail.com> | 2013-09-01 17:38:01 +0100 |
---|---|---|
committer | Kevin Butler <haqkrs@gmail.com> | 2013-09-01 17:38:01 +0100 |
commit | 6e17fa6d7ba57b990dd929e07969d35dc82fc46b (patch) | |
tree | cb6d7b7e79941df0dec6b7379821c6e8f2cbebe8 /src/common/torgzip.h | |
parent | 00bcc25d05dc0273323a2cae20c6aa62afd4b50a (diff) | |
download | tor-6e17fa6d7ba57b990dd929e07969d35dc82fc46b.tar.gz tor-6e17fa6d7ba57b990dd929e07969d35dc82fc46b.zip |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/torgzip.h b/src/common/torgzip.h index be1016445b..5db03fe6e0 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 |