From 9afd0ac55975d699def45e6c1cc42f8da042593d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Jun 2024 07:26:04 +0200 Subject: Merging upstream version 2.9.2. Signed-off-by: Daniel Baumann --- WWW/Library/Implementation/HTFile.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'WWW/Library/Implementation/HTFile.h') diff --git a/WWW/Library/Implementation/HTFile.h b/WWW/Library/Implementation/HTFile.h index 1209090..9340963 100644 --- a/WWW/Library/Implementation/HTFile.h +++ b/WWW/Library/Implementation/HTFile.h @@ -1,5 +1,5 @@ /* - * $LynxId: HTFile.h,v 1.36 2023/10/24 08:07:39 tom Exp $ + * $LynxId: HTFile.h,v 1.37 2024/05/27 10:08:57 tom Exp $ * File access in libwww * FILE ACCESS * @@ -231,6 +231,10 @@ extern "C" { * Determine compression type from the content-encoding. */ extern CompressFileType HTContentTypeToCompressType(const char *ct); +/* + * Check if a given content-encoding (format) matches something we support. + */ + extern BOOL IsCompressionFormat(HTAtom *format, CompressFileType check); /* * Determine compression type from the content-type and/or content-encoding. */ -- cgit v1.2.3