Change the magic number used to introduce a trie file, so that instead
[sgt/agedu] / html.h
diff --git a/html.h b/html.h
index d420036..47b7ffd 100644 (file)
--- a/html.h
+++ b/html.h
@@ -29,7 +29,9 @@ struct html_config {
      *       two hex digits (including, in particular, = itself). The
      *       only characters not escaped are the ASCII alphabets and
      *       numbers, the subdirectory separator as mentioned above,
-     *       and the four punctuation characters -.@_ .
+     *       and the four punctuation characters -.@_ (with the
+     *       exception that at the very start of a pathname, even '.'
+     *       is escaped).
      *     - '%/p' outputs the pathname of the tree entry, but this time
      *       the subdirectory separator is also considered to be a
      *       worrying character and is escaped.
@@ -81,6 +83,11 @@ struct html_config {
      * directories in the report.
      */
     int showfiles;
+    /*
+     * The string appearing in the <title> part of HTML pages, before
+     * a colon followed by the path being served. Default is "agedu".
+     */
+    const char *html_title;
 };
 
 /*