Return to roff_int.h CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.8, 2017/07/08 14:51:05 | version 1.11, 2018/12/13 06:18:20 | ||
---|---|---|---|
|
|
||
/* $Id$ */ | /* $Id$ */ | ||
/* | /* | ||
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> | * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> | ||
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> | * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org> | ||
* | * | ||
* Permission to use, copy, modify, and distribute this software for any | * Permission to use, copy, modify, and distribute this software for any | ||
* purpose with or without fee is hereby granted, provided that the above | * purpose with or without fee is hereby granted, provided that the above | ||
|
|
||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
* 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. | ||
* | |||
* Parser internals shared by multiple parsers. | |||
*/ | */ | ||
struct roff_node *roff_node_alloc(struct roff_man *, int, int, | struct roff_node *roff_node_alloc(struct roff_man *, int, int, | ||
|
|
||
struct roff_node *roff_block_alloc(struct roff_man *, int, int, int); | struct roff_node *roff_block_alloc(struct roff_man *, int, int, int); | ||
struct roff_node *roff_head_alloc(struct roff_man *, int, int, int); | struct roff_node *roff_head_alloc(struct roff_man *, int, int, int); | ||
struct roff_node *roff_body_alloc(struct roff_man *, int, int, int); | struct roff_node *roff_body_alloc(struct roff_man *, int, int, int); | ||
void roff_addtbl(struct roff_man *, const struct tbl_span *); | |||
void roff_node_unlink(struct roff_man *, struct roff_node *); | void roff_node_unlink(struct roff_man *, struct roff_node *); | ||
void roff_node_relink(struct roff_man *, struct roff_node *); | |||
void roff_node_free(struct roff_node *); | void roff_node_free(struct roff_node *); | ||
void roff_node_delete(struct roff_man *, struct roff_node *); | void roff_node_delete(struct roff_man *, struct roff_node *); | ||
struct ohash *roffhash_alloc(enum roff_tok, enum roff_tok); | |||
enum roff_tok roffhash_find(struct ohash *, const char *, size_t); | |||
void roffhash_free(struct ohash *); | |||
/* | /* | ||
* Functions called from roff.c need to be declared here, | * Functions called from roff.c need to be declared here, |