[BACK]Return to main.h CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Annotation of mandoc/main.h, Revision 1.29

1.29    ! schwarze    1: /*     $Id: main.h,v 1.28 2018/08/23 19:33:27 schwarze Exp $ */
1.1       kristaps    2: /*
1.14      schwarze    3:  * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
1.21      schwarze    4:  * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
1.1       kristaps    5:  *
                      6:  * Permission to use, copy, modify, and distribute this software for any
                      7:  * purpose with or without fee is hereby granted, provided that the above
                      8:  * copyright notice and this permission notice appear in all copies.
                      9:  *
1.21      schwarze   10:  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
1.1       kristaps   11:  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1.21      schwarze   12:  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
1.1       kristaps   13:  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
                     14:  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
                     15:  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
                     16:  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
                     17:  */
1.19      schwarze   18:
1.29    ! schwarze   19: struct roff_meta;
1.21      schwarze   20: struct manoutput;
1.4       kristaps   21:
1.16      schwarze   22: /*
1.1       kristaps   23:  * Definitions for main.c-visible output device functions, e.g., -Thtml
                     24:  * and -Tascii.  Note that ascii_alloc() is named as such in
                     25:  * anticipation of latin1_alloc() and so on, all of which map into the
                     26:  * terminal output routines with different character settings.
                     27:  */
                     28:
1.23      schwarze   29: void            *html_alloc(const struct manoutput *);
1.29    ! schwarze   30: void             html_mdoc(void *, const struct roff_meta *);
        !            31: void             html_man(void *, const struct roff_meta *);
1.1       kristaps   32: void             html_free(void *);
                     33:
1.29    ! schwarze   34: void             tree_mdoc(void *, const struct roff_meta *);
        !            35: void             tree_man(void *, const struct roff_meta *);
1.13      schwarze   36:
1.29    ! schwarze   37: void             man_mdoc(void *, const struct roff_meta *);
1.1       kristaps   38:
1.23      schwarze   39: void            *locale_alloc(const struct manoutput *);
                     40: void            *utf8_alloc(const struct manoutput *);
                     41: void            *ascii_alloc(const struct manoutput *);
1.6       kristaps   42: void             ascii_free(void *);
                     43:
1.23      schwarze   44: void            *pdf_alloc(const struct manoutput *);
                     45: void            *ps_alloc(const struct manoutput *);
1.9       kristaps   46: void             pspdf_free(void *);
1.6       kristaps   47:
1.29    ! schwarze   48: void             terminal_mdoc(void *, const struct roff_meta *);
        !            49: void             terminal_man(void *, const struct roff_meta *);
1.25      schwarze   50: void             terminal_sepline(void *);
1.27      schwarze   51:
1.29    ! schwarze   52: void             markdown_mdoc(void *, const struct roff_meta *);

CVSweb