summaryrefslogtreecommitdiffstats
path: root/WWW/Library/Implementation/HTFile.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:26:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:26:01 +0000
commitd7c9bf8bdc78b40ec91f15300c9558a5f79e803c (patch)
treef31ad4ad244bf5932be8048b3ef9dc6eacca0b7c /WWW/Library/Implementation/HTFile.h
parentAdding upstream version 2.9.1. (diff)
downloadlynx-d7c9bf8bdc78b40ec91f15300c9558a5f79e803c.tar.xz
lynx-d7c9bf8bdc78b40ec91f15300c9558a5f79e803c.zip
Adding upstream version 2.9.2.upstream/2.9.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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);