about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTRules.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTRules.h')
-rw-r--r--WWW/Library/Implementation/HTRules.h57
1 files changed, 27 insertions, 30 deletions
diff --git a/WWW/Library/Implementation/HTRules.h b/WWW/Library/Implementation/HTRules.h
index c9b299df..5c14aed9 100644
--- a/WWW/Library/Implementation/HTRules.h
+++ b/WWW/Library/Implementation/HTRules.h
@@ -21,23 +21,23 @@
 #ifndef HTUTILS_H
 #include <HTUtils.h>
 #endif
- 
+
 typedef enum {
-        HT_Invalid,
-        HT_Map,
-        HT_Pass,
-        HT_Fail,
-        HT_DefProt,
-        HT_Protect,
-        HT_Progress,
-        HT_InfoMsg,
-        HT_UserMsg,
-        HT_Alert,
-        HT_AlwaysAlert,
-        HT_Redirect,
-        HT_RedirectPerm,
-        HT_PermitRedir,
-        HT_UseProxy
+    HT_Invalid,
+    HT_Map,
+    HT_Pass,
+    HT_Fail,
+    HT_DefProt,
+    HT_Protect,
+    HT_Progress,
+    HT_InfoMsg,
+    HT_UserMsg,
+    HT_Alert,
+    HT_AlwaysAlert,
+    HT_Redirect,
+    HT_RedirectPerm,
+    HT_PermitRedir,
+    HT_UseProxy
 } HTRuleOp;
 
 #ifndef NO_RULES
@@ -54,8 +54,8 @@ Server Side Script Execution
 
  */
 
-extern char * HTBinDir;         /* Physical /htbin location */
-extern char * HTSearchScript;   /* Search script name */
+extern char *HTBinDir;		/* Physical /htbin location */
+extern char *HTSearchScript;	/* Search script name */
 
 /*
 
@@ -84,13 +84,10 @@ HTAddRule:  Add rule to the list
    large.
 
  */
-extern int HTAddRule (
-    HTRuleOp op,
-    const char * pattern,
-    const char * equiv,
-    const char * cond_op,
-    const char * cond);
-
+extern int HTAddRule(HTRuleOp op, const char *pattern,
+		     const char *equiv,
+		     const char *cond_op,
+		     const char *cond);
 
 /*
 
@@ -102,7 +99,7 @@ HTClearRules: Clear all rules
 
  */
 
-extern void HTClearRules (void);
+extern void HTClearRules(void);
 
 /*
 
@@ -123,7 +120,7 @@ HTTranslate: Translate by rules
                          a copy of the original.
 
  */
-extern char * HTTranslate (const char * required);
+extern char *HTTranslate(const char *required);
 
 /*
 
@@ -137,8 +134,7 @@ HTSetConfiguration:  Load one line of configuration information
    the  rule file, for example INI files for X resources.
 
  */
-extern int HTSetConfiguration (char * config);
-
+extern int HTSetConfiguration(char *config);
 
 /*
 
@@ -157,7 +153,8 @@ HtLoadRules:  Load the rules from a file
 
  */
 
-extern int HTLoadRules (const char * filename);
+extern int HTLoadRules(const char *filename);
+
 /*
 
  */