]> git.cameronkatri.com Git - mandoc.git/blobdiff - roff.h
Vastly simplify man(7) block unwinding, similar to mdoc_macro.c 1.171.
[mandoc.git] / roff.h
diff --git a/roff.h b/roff.h
index 232100c8494c3a5038b09a1a0326c84f6a8a1e94..42bc56154ab51168d8126f6d0c27ec2438f1ba11 100644 (file)
--- a/roff.h
+++ b/roff.h
@@ -104,3 +104,14 @@ struct     roff_node {
        enum roff_sec     sec;     /* Current named section. */
        enum mdoc_endbody end;     /* BODY */
 };
+
+struct roff_meta {
+       char             *msec;    /* Manual section, usually a digit. */
+       char             *vol;     /* Manual volume title. */
+       char             *os;      /* Operating system. */
+       char             *arch;    /* Machine architecture. */
+       char             *title;   /* Manual title, usually CAPS. */
+       char             *name;    /* Leading manual name. */
+       char             *date;    /* Normalized date. */
+       int               hasbody; /* Document is not empty. */
+};