summaryrefslogtreecommitdiff
path: root/halibut.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-06-12 20:09:40 +0000
committerSimon Tatham <anakin@pobox.com>2004-06-12 20:09:40 +0000
commit3ae295ca676ac0db275ad2cc1945fa0eca4a19bd (patch)
tree6d71723dc97b22868321286f4e730836980c7562 /halibut.h
parentbc4fc12bd13dd4555bc8c22e7c5e3ea03d2b239d (diff)
downloadhalibut-3ae295ca676ac0db275ad2cc1945fa0eca4a19bd.zip
halibut-3ae295ca676ac0db275ad2cc1945fa0eca4a19bd.tar.gz
halibut-3ae295ca676ac0db275ad2cc1945fa0eca4a19bd.tar.bz2
halibut-3ae295ca676ac0db275ad2cc1945fa0eca4a19bd.tar.xz
Initial checkin of the shiny new rewritten-from-scratch HTML back
end. There's a lot more _potentiality_ for new features than there are actual new features just yet, but future highlights include: configurable flavour of HTML (3.2, 4, XHTML Transitional or Strict), proper character set support (this is half way there already), and more flexible allocation of sections between multiple HTML files. Meanwhile, immediate benefits include correct handling of special characters within `author' and `description' strings, omission of the filename part in hyperlinks within the same HTML file (in particular, this means a single output file is now totally independent of its filename), and hyperlinks to the index from the top-level contents page (I'm amazed nobody has complained at the lack of this yet!). There are no doubt some shiny new bugs as well, but I'll never find them unless people start using the thing... [originally from svn r4275]
Diffstat (limited to 'halibut.h')
-rw-r--r--halibut.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/halibut.h b/halibut.h
index 934604a..62b87db 100644
--- a/halibut.h
+++ b/halibut.h
@@ -286,7 +286,8 @@ wchar_t *ustrncpy(wchar_t *dest, wchar_t const *source, int n);
wchar_t utolower(wchar_t);
int uisalpha(wchar_t);
int ustrcmp(wchar_t *lhs, wchar_t *rhs);
-int ustricmp(wchar_t *lhs, wchar_t *rhs);
+int ustricmp(wchar_t const *lhs, wchar_t const *rhs);
+int ustrnicmp(wchar_t const *lhs, wchar_t const *rhs, int maxlen);
int utoi(wchar_t const *);
double utof(wchar_t const *);
int utob(wchar_t const *);
@@ -463,10 +464,10 @@ void text_backend(paragraph *, keywordlist *, indexdata *, void *);
paragraph *text_config_filename(char *filename);
/*
- * bk_xhtml.c
+ * bk_html.c
*/
-void xhtml_backend(paragraph *, keywordlist *, indexdata *, void *);
-paragraph *xhtml_config_filename(char *filename);
+void html_backend(paragraph *, keywordlist *, indexdata *, void *);
+paragraph *html_config_filename(char *filename);
/*
* bk_whlp.c