html
print_eqn(struct html *p, const struct eqn_box *bp)
eqn_box(struct html *p, const struct eqn_box *bp)
print_byte(struct html *h, char c)
print_endline(struct html *h)
print_endword(struct html *h)
print_indent(struct html *h)
print_word(struct html *h, const char *cp)
static void html_reset_internal(struct html *);
static void print_byte(struct html *, char);
static void print_endword(struct html *);
static void print_indent(struct html *);
static void print_word(struct html *, const char *);
static void print_ctag(struct html *, struct tag *);
static int print_escape(struct html *, char);
static int print_encode(struct html *, const char *, const char *, int);
static void print_href(struct html *, const char *, const char *, int);
static void print_metaf(struct html *);
struct html *h;
h = mandoc_calloc(1, sizeof(struct html));
html_reset_internal(struct html *h)
print_gen_head(struct html *h)
html_setfont(struct html *h, enum mandoc_esc font)
print_metaf(struct html *h)
html_close_paragraph(struct html *h)
html_fillmode(struct html *h, enum roff_tok want)
print_escape(struct html *h, char c)
print_encode(struct html *h, const char *p, const char *pend, int norecurse)
print_href(struct html *h, const char *name, const char *sec, int man)
print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
print_otag_id(struct html *h, enum htmltag elemtype, const char *cattr,
print_ctag(struct html *h, struct tag *tag)
print_gen_decls(struct html *h)
print_gen_comment(struct html *h, struct roff_node *n)
print_text(struct html *h, const char *word)
print_tagged_text(struct html *h, const char *word, struct roff_node *n)
print_tagq(struct html *h, const struct tag *until)
print_stagq(struct html *h, const struct tag *suntil)
void roff_html_pre(struct html *, const struct roff_node *);
void print_gen_comment(struct html *, struct roff_node *);
void print_gen_decls(struct html *);
void print_gen_head(struct html *);
struct tag *print_otag(struct html *, enum htmltag, const char *, ...);
struct tag *print_otag_id(struct html *, enum htmltag, const char *,
void print_tagq(struct html *, const struct tag *);
void print_stagq(struct html *, const struct tag *);
void print_tagged_text(struct html *, const char *,
void print_text(struct html *, const char *);
void print_tblclose(struct html *);
void print_tbl(struct html *, const struct tbl_span *);
void print_eqn(struct html *, const struct eqn_box *);
void print_endline(struct html *);
void html_close_paragraph(struct html *);
enum roff_tok html_fillmode(struct html *, enum roff_tok);
int html_setfont(struct html *, enum mandoc_esc);
struct html *h;
h = (struct html *)arg;
print_man_head(const struct roff_meta *man, struct html *h)
man_root_pre(const struct roff_meta *man, struct html *h)
man_root_post(const struct roff_meta *man, struct html *h)
struct html *h
struct html *);
struct html *);
struct html *);
synopsis_pre(struct html *h, struct roff_node *n)
struct html *h;
h = (struct html *)arg;
print_mdoc_head(const struct roff_meta *meta, struct html *h)
struct html *h
mdoc_root_post(const struct roff_meta *meta, struct html *h)
mdoc_root_pre(const struct roff_meta *meta, struct html *h)
struct html *);
static void synopsis_pre(struct html *, struct roff_node *);
struct html *);
struct html *);
#define ROFF_HTML_ARGS struct html *h, const struct roff_node *n
roff_html_pre(struct html *h, const struct roff_node *n)
print_tblclose(struct html *h)
print_tbl(struct html *h, const struct tbl_span *sp)
static void html_tblopen(struct html *, const struct tbl_span *);
html_tblopen(struct html *h, const struct tbl_span *sp)
int err = LDAP_SUCCESS, lderr, i, count, html;
html = ( urlprefix != NULL );
if ( html ) {
html ? -1 : 0, LDAP_SYN_DN, writeproc, writeparm,
int i, err, html, show, labelwidth;
html = ( urlprefix != NULL );
if ( html ) {
if ( html && !(( opts & LDAP_DISP_OPT_HTMLBODYONLY ) != 0 )) {
writeptype writeproc, void *writeparm, char *eol, int html );
int err, i, html, writeoutval, freebuf, notascii;
html = ( urlprefix != NULL );
output_label( buf, label, labelwidth, writeproc, writeparm, eol, html );
if ( html ) {
if ( i > 0 && !html ) {
writeparm, eol, html );
if ( html ) {
if ( html ) {
if ( html ) {
void *writeparm, char *eol, int html )
if ( html ) {
#define H(x) do{if(html)fprintf(stderr,x);}while(0)
help(int html)