Ahem; that only didn't cause a segfault by sheer luck.
[sgt/halibut] / halibut.h
index 69953b6..6a0e944 100644 (file)
--- a/halibut.h
+++ b/halibut.h
@@ -237,6 +237,7 @@ enum {
     err_sectmarkerinblock,            /* section marker appeared in block */
     err_infodirentry,                 /* \cfg{info-dir-entry} missing param */
     err_infonodechar,                 /* colon/comma in node name in info */
+    err_text_codeline,                /* \c line too long in text backend */
     err_whatever                       /* random error of another type */
 };
 
@@ -289,10 +290,16 @@ int utoi(wchar_t *);
 int utob(wchar_t *);
 int uisdigit(wchar_t);
 wchar_t *ustrlow(wchar_t *s);
-wchar_t *ustrftime(wchar_t *fmt, struct tm *timespec);
+wchar_t *ustrftime(const wchar_t *wfmt, const struct tm *timespec);
 int cvt_ok(int charset, const wchar_t *s);
 
 /*
+ * wcwidth.c
+ */
+int strwid(char const *s, int charset);
+int ustrwid(wchar_t const *s, int charset);
+
+/*
  * help.c
  */
 void help(void);
@@ -342,7 +349,7 @@ char *rdtrimc(rdstringc *rs);
 
 int compare_wordlists(word *a, word *b);
 
-void mark_attr_ends(paragraph *sourceform);
+void mark_attr_ends(word *words);
 
 typedef struct tagWrappedLine wrappedline;
 struct tagWrappedLine {