summaryrefslogtreecommitdiffstats
path: root/WWW/Library/Implementation/HTFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTFile.h')
-rw-r--r--WWW/Library/Implementation/HTFile.h6
1 files changed, 5 insertions, 1 deletions
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
*
@@ -232,6 +232,10 @@ extern "C" {
*/
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.
*/
extern CompressFileType HTContentToCompressType(HTParentAnchor *anchor);