=================================================================== RCS file: /cvs/docbook2mdoc/macro.h,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- docbook2mdoc/macro.h 2019/03/26 19:17:29 1.1 +++ docbook2mdoc/macro.h 2019/04/06 22:37:57 1.3 @@ -1,4 +1,4 @@ -/* $Id: macro.h,v 1.1 2019/03/26 19:17:29 schwarze Exp $ */ +/* $Id: macro.h,v 1.3 2019/04/06 22:37:57 schwarze Exp $ */ /* * Copyright (c) 2019 Ingo Schwarze * @@ -28,6 +28,7 @@ enum linestate { struct format { int level; /* Header level, starting at 1. */ + int spc; /* Whitespace before next macro. */ enum linestate linestate; }; @@ -46,3 +47,6 @@ void macro_addarg(struct format *, const char *, int) void macro_argline(struct format *, const char *, const char *); void macro_addnode(struct format *, struct pnode *, int); void macro_nodeline(struct format *, const char *, struct pnode *, int); + +void print_text(struct format *, const char *, int); +void print_textnode(struct format *, struct pnode *);