]>
git.cameronkatri.com Git - mandoc.git/blob - html.h
1 /* $Id: html.h,v 1.4 2008/12/10 17:40:56 kristaps Exp $ */
3 * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the
7 * above copyright notice and this permission notice appear in all
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 * PERFORMANCE OF THIS SOFTWARE.
47 HTML_ATTR_HTTP_EQUIV
= 1,
48 HTML_ATTR_CONTENT
= 2,
60 HTML_TYPE_4_01_STRICT
= 0
70 int html_typeput(struct md_mbuf
*,
71 enum html_type
, size_t *);
72 int html_commentput(struct md_mbuf
*,
73 enum ml_scope
, size_t *);
74 int html_tput(struct md_mbuf
*,
75 enum ml_scope
, enum html_tag
, size_t *);
76 int html_aput(struct md_mbuf
*, enum ml_scope
,
77 enum html_tag
, size_t *,
78 int, const struct html_pair
*);
79 int html_stput(struct md_mbuf
*,
80 enum html_tag
, size_t *);
81 int html_saput(struct md_mbuf
*, enum html_tag
,
82 size_t *, int, const struct html_pair
*);