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

Annotation of mandoc/roff_int.h, Revision 1.3

1.3     ! schwarze    1: /*     $Id: roff_int.h,v 1.2 2015/04/19 14:25:41 schwarze Exp $        */
1.1       schwarze    2: /*
                      3:  * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
1.2       schwarze    4:  * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
1.1       schwarze    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:  *
                     10:  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
                     11:  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
                     12:  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
                     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:  */
                     18:
                     19: __BEGIN_DECLS
                     20:
                     21: struct roff_node *roff_node_alloc(struct roff_man *, int, int,
                     22:                        enum roff_type, int);
                     23: void             roff_node_append(struct roff_man *, struct roff_node *);
1.2       schwarze   24: void             roff_word_alloc(struct roff_man *, int, int, const char *);
                     25: void             roff_word_append(struct roff_man *, const char *);
1.3     ! schwarze   26: void             roff_elem_alloc(struct roff_man *, int, int, int);
        !            27: struct roff_node *roff_block_alloc(struct roff_man *, int, int, int);
1.1       schwarze   28: struct roff_node *roff_head_alloc(struct roff_man *, int, int, int);
                     29: struct roff_node *roff_body_alloc(struct roff_man *, int, int, int);
1.2       schwarze   30: void             roff_addeqn(struct roff_man *, const struct eqn *);
                     31: void             roff_addtbl(struct roff_man *, const struct tbl_span *);
1.1       schwarze   32: void             roff_node_unlink(struct roff_man *, struct roff_node *);
                     33: void             roff_node_free(struct roff_node *);
                     34: void             roff_node_delete(struct roff_man *, struct roff_node *);
1.2       schwarze   35:
                     36: /*
                     37:  * Functions called from roff.c need to be declared here,
                     38:  * not in libmdoc.h or libman.h, even if they are specific
                     39:  * to either the mdoc(7) or the man(7) parser.
                     40:  */
                     41:
                     42: void             man_breakscope(struct roff_man *, int);
                     43: void             man_valid_post(struct roff_man *);
                     44:
                     45: void             mdoc_valid_pre(struct roff_man *, struct roff_node *);
                     46: void             mdoc_valid_post(struct roff_man *);
                     47: void             mdoc_argv_free(struct mdoc_arg *);
1.1       schwarze   48:
                     49: __END_DECLS

CVSweb