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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTFile.h b/WWW/Library/Implementation/HTFile.h
index 2cb1d92a..f0a3178a 100644
--- a/WWW/Library/Implementation/HTFile.h
+++ b/WWW/Library/Implementation/HTFile.h
@@ -194,6 +194,21 @@ extern float HTFileValue PARAMS((
 	CONST char *	filename));
 
 /*
+**  Determine compression type from file name, by looking at its suffix.
+*/
+typedef enum {
+    cftNone
+    , cftCompress
+    , cftGzip
+    , cftBzip2
+} CompressFileType;
+
+extern CompressFileType HTCompressFileType PARAMS((
+	char *			filename,
+	char *			dots,
+	char **			suffix));
+
+/*
 **  Determine write access to a file.
 **
 **  ON EXIT,