Return to html.h CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.66, 2014/10/10 15:26:29 | version 1.69, 2014/12/01 08:05:52 | ||
---|---|---|---|
|
|
||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
*/ | */ | ||
#ifndef HTML_H | |||
#define HTML_H | |||
__BEGIN_DECLS | |||
enum htmltag { | enum htmltag { | ||
TAG_HTML, | TAG_HTML, | ||
TAG_HEAD, | TAG_HEAD, | ||
|
|
||
struct tagq tags; /* stack of open tags */ | struct tagq tags; /* stack of open tags */ | ||
struct rofftbl tbl; /* current table */ | struct rofftbl tbl; /* current table */ | ||
struct tag *tblt; /* current open table scope */ | struct tag *tblt; /* current open table scope */ | ||
struct mchars *symtab; /* character-escapes */ | const struct mchars *symtab; /* character table */ | ||
char *base_man; /* base for manpage href */ | char *base_man; /* base for manpage href */ | ||
char *base_includes; /* base for include href */ | char *base_includes; /* base for include href */ | ||
char *style; /* style-sheet URI */ | char *style; /* style-sheet URI */ | ||
|
|
||
#define HTML_FRAGMENT (1 << 0) /* don't emit HTML/HEAD/BODY */ | #define HTML_FRAGMENT (1 << 0) /* don't emit HTML/HEAD/BODY */ | ||
}; | }; | ||
__BEGIN_DECLS | |||
struct tbl_span; | |||
struct eqn; | |||
void print_gen_decls(struct html *); | void print_gen_decls(struct html *); | ||
void print_gen_head(struct html *); | void print_gen_head(struct html *); | ||
struct tag *print_otag(struct html *, enum htmltag, | struct tag *print_otag(struct html *, enum htmltag, | ||
|
|
||
int html_strlen(const char *); | int html_strlen(const char *); | ||
__END_DECLS | __END_DECLS | ||
#endif /*!HTML_H*/ |