=================================================================== RCS file: /cvs/mandoc/roff.h,v retrieving revision 1.29 retrieving revision 1.30 diff -u -p -r1.29 -r1.30 --- mandoc/roff.h 2015/04/02 22:48:18 1.29 +++ mandoc/roff.h 2015/04/02 23:48:20 1.30 @@ -1,4 +1,4 @@ -/* $OpenBSD: roff.h,v 1.29 2015/04/02 22:48:18 schwarze Exp $ */ +/* $OpenBSD: roff.h,v 1.30 2015/04/02 23:48:20 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze @@ -103,4 +103,15 @@ struct roff_node { enum roff_type type; /* AST node type. */ 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. */ };