=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/html.h,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/mandoc/html.h 2009/10/27 21:40:07 1.2 --- src/usr.bin/mandoc/html.h 2009/12/22 23:58:00 1.3 *************** *** 1,4 **** ! /* $Id: html.h,v 1.2 2009/10/27 21:40:07 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * --- 1,4 ---- ! /* $Id: html.h,v 1.3 2009/12/22 23:58:00 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * *************** *** 58,63 **** --- 58,64 ---- ATTR_VALIGN, ATTR_TARGET, ATTR_ID, + ATTR_SUMMARY, ATTR_MAX }; *************** *** 93,98 **** --- 94,102 ---- #define PAIR_STYLE_INIT(p, h) \ do { (p)->key = ATTR_STYLE; \ (p)->val = (h)->buf; } while (/* CONSTCOND */ 0) + #define PAIR_SUMMARY_INIT(p, v) \ + do { (p)->key = ATTR_SUMMARY; \ + (p)->val = (v); } while (/* CONSTCOND */ 0) struct html { int flags; *************** *** 131,136 **** --- 135,142 ---- const char *, const char *); void bufncat(struct html *, const char *, size_t); void bufinit(struct html *); + + void html_idcat(char *, const char *, int); __END_DECLS