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.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/WWW/Library/Implementation/HTRules.h b/WWW/Library/Implementation/HTRules.h
index 2bbe6def..d34c03ac 100644
--- a/WWW/Library/Implementation/HTRules.h
+++ b/WWW/Library/Implementation/HTRules.h
@@ -1,19 +1,19 @@
 /*                                             Configuration Manager for libwww
  *                            CONFIGURATION MANAGER
- *                                              
+ *
  * Author Tim Berners-Lee/CERN.  Public domain.  Please mail changes to
  * timbl@info.cern.ch.
- *    
+ *
  * The configuration information loaded includes tables (file suffixes,
  * presentation methods) in other modules.  The most likely routines needed by
  * developers will be:
- *    
+ *
  * HTSetConfiguration	to load configuration information.
- *                          
+ *
  * HTLoadRules		to load a whole file of configuration information
- *                          
+ *
  * HTTranslate		to translate a URL using the rule table.
- *                          
+ *
  */
 #ifndef HTRULE_H
 #define HTRULE_H
@@ -30,7 +30,7 @@ typedef enum _HTRuleOp {
 } HTRuleOp;
 
 #ifdef SHORT_NAMES
-#define HTSearSc HTSearchScript
+#define HTSearchScript	HTSearSc
 #endif /*SHORT_NAMES*/
 
 /*
@@ -38,11 +38,11 @@ typedef enum _HTRuleOp {
 Server Side Script Execution
 
    If a URL starts with /htbin/ it is understood to mean a script execution request on
-   server. This feature needs to be turned on by setting HTBinDir by the htbin rule.
+   server.  This feature needs to be turned on by setting HTBinDir by the htbin rule.
    Index searching is enabled by setting HTSearchScript into the name of script in BinDir
    doing the actual search by search rule (BinDir must also be set in this case, of
    course).
-   
+
  */
 
 extern char * HTBinDir;         /* Physical /htbin location */
@@ -53,20 +53,20 @@ extern char * HTSearchScript;   /* Search script name */
 HTAddRule:  Add rule to the list
 
   ON ENTRY,
-  
+
   pattern                points to 0-terminated string containing a single "*"
-                         
+
   equiv                  points to the equivalent string with * for the place where the
                          text matched by * goes.
-                         
+
   ON EXIT,
-  
+
   returns                0 if success, -1 if error.
-                         
+
    Note that if BYTE_ADDRESSING is set, the three blocks required are allocated and
-   deallocated as one. This will save time and storage, when malloc's allocation units are
+   deallocated as one.  This will save time and storage, when malloc's allocation units are
    large.
-   
+
  */
 extern int HTAddRule PARAMS((HTRuleOp op, CONST char * pattern, CONST char * equiv));
 
@@ -76,12 +76,12 @@ extern int HTAddRule PARAMS((HTRuleOp op, CONST char * pattern, CONST char * equ
 HTClearRules: Clear all rules
 
   ON EXIT,
-  
+
   Rule file               There are no rules
-                         
+
   returns
                           0 if success, -1 if error.
-                         
+
  */
 
 extern int HTClearRules PARAMS((void));
@@ -91,19 +91,19 @@ extern int HTClearRules PARAMS((void));
 HTTranslate: Translate by rules
 
  */
-        
+
 /*
 
   ON ENTRY,
-  
+
   required                points to a string whose equivalent value is neeed
-                         
+
   ON EXIT,
-  
+
   returns                 the address of the equivalent string allocated from the heap
                          which the CALLER MUST FREE. If no translation occured, then it is
                          a copy of the original.
-                         
+
  */
 extern char * HTTranslate PARAMS((CONST char * required));
 
@@ -112,12 +112,12 @@ extern char * HTTranslate PARAMS((CONST char * required));
 HTSetConfiguration:  Load one line of configuration information
 
   ON ENTRY,
-  
+
   config                  is a string in the syntax of a rule file line.
-                         
+
    This routine may be used for loading configuration information from sources other than
    the  rule file, for example INI files for X resources.
-   
+
  */
 extern int HTSetConfiguration PARAMS((CONST char * config));
 
@@ -127,16 +127,16 @@ extern int HTSetConfiguration PARAMS((CONST char * config));
 HtLoadRules:  Load the rules from a file
 
   ON ENTRY,
-  
+
   Rule table              Rules can be in any state
-                         
+
   ON EXIT,
-  
-  Rule table              Any existing rules will have been kept. Any new rules will have
+
+  Rule table              Any existing rules will have been kept.  Any new rules will have
                          been loaded on top, so as to be tried first.
-                         
+
   Returns                 0 if no error.
-                         
+
  */
 
 extern int HTLoadRules PARAMS((CONST char * filename));