Annotation of mandoc/tbl_parse.h, Revision 1.1
1.1 ! schwarze 1: /* $Id$ */
! 2: /*
! 3: * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
! 4: * Copyright (c) 2011, 2017 Ingo Schwarze <schwarze@openbsd.org>
! 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: * External interface of the tbl(7) parser.
! 19: * For use in the roff(7) and tbl(7) parsers only.
! 20: */
! 21:
! 22: struct mparse;
! 23: struct tbl_node;
! 24: struct tbl_span;
! 25:
! 26: struct tbl_node *tbl_alloc(int, int, struct mparse *, struct tbl_node *);
! 27: int tbl_end(struct tbl_node *, int);
! 28: void tbl_free(struct tbl_node *);
! 29: void tbl_read(struct tbl_node *, int, const char *, int);
! 30: void tbl_restart(int, int, struct tbl_node *);
! 31: struct tbl_span *tbl_span(struct tbl_node *);
CVSweb