about summary refs log tree commit diff stats
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.h24
1 files changed, 18 insertions, 6 deletions
diff --git a/WWW/Library/Implementation/HTFile.h b/WWW/Library/Implementation/HTFile.h
index 38f407f2..b7a514d6 100644
--- a/WWW/Library/Implementation/HTFile.h
+++ b/WWW/Library/Implementation/HTFile.h
@@ -1,4 +1,6 @@
-/*							File access in libwww
+/*
+ * $LynxId: HTFile.h,v 1.31 2008/12/07 18:49:53 tom Exp $
+ *							File access in libwww
  *				FILE ACCESS
  *
  *  These are routines for local file access used by WWW browsers and servers.
@@ -221,15 +223,25 @@ extern "C" {
 					       int *rootlen);
 
 /*
- *  Determine compression type from the content-type.
+ *  Determine compression type from the content-encoding.
  */
-    extern CompressFileType HTContentToCompressType(const char *encoding);
-
+    extern CompressFileType HTEncodingToCompressType(const char *encoding);
 /*
  *  Determine compression type from the content-encoding.
  */
-    extern CompressFileType HTEncodingToCompressType(const char *encoding);
-
+    extern CompressFileType HTContentTypeToCompressType(const char *ct);
+/*
+ *  Determine compression type from the content-type and/or content-encoding.
+ */
+    extern CompressFileType HTContentToCompressType(HTParentAnchor *anchor);
+/*
+ *  Determine compression encoding from the compression method.
+ */
+    extern const char *HTCompressTypeToEncoding(CompressFileType method);
+/*
+ *  Determine expected file-suffix from the compression method.
+ */
+    extern const char *HTCompressTypeToSuffix(CompressFileType method);
 /*
  *  Determine write access to a file.
  *