version 1.16, 2019/01/05 00:36:50 |
version 1.19, 2022/05/19 15:37:47 |
|
|
/* $Id$ */ |
/* $OpenBSD$ */ |
/* |
/* |
|
* Copyright (c) 2013-2015, 2017-2022 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2013-2015, 2017-2019 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 |
Line 35 struct roff_man { |
|
Line 35 struct roff_man { |
|
struct ohash *mdocmac; /* Mdoc macro lookup table. */ |
struct ohash *mdocmac; /* Mdoc macro lookup table. */ |
struct ohash *manmac; /* Man macro lookup table. */ |
struct ohash *manmac; /* Man macro lookup table. */ |
const char *os_s; /* Default operating system. */ |
const char *os_s; /* Default operating system. */ |
|
char *os_r; /* Operating system name at run time. */ |
struct roff_node *last; /* The last node parsed. */ |
struct roff_node *last; /* The last node parsed. */ |
struct roff_node *last_es; /* The most recent Es node. */ |
struct roff_node *last_es; /* The most recent Es node. */ |
int quick; /* Abort parse early. */ |
int quick; /* Abort parse early. */ |
Line 59 struct roff_man { |
|
Line 60 struct roff_man { |
|
enum roff_sec lastsec; /* Last section seen. */ |
enum roff_sec lastsec; /* Last section seen. */ |
enum roff_sec lastnamed; /* Last standard section seen. */ |
enum roff_sec lastnamed; /* Last standard section seen. */ |
enum roff_next next; /* Where to put the next node. */ |
enum roff_next next; /* Where to put the next node. */ |
|
char filesec; /* Section digit in the file name. */ |
}; |
}; |
|
|
|
|
Line 80 struct ohash *roffhash_alloc(enum roff_tok, enum roff |
|
Line 82 struct ohash *roffhash_alloc(enum roff_tok, enum roff |
|
enum roff_tok roffhash_find(struct ohash *, const char *, size_t); |
enum roff_tok roffhash_find(struct ohash *, const char *, size_t); |
void roffhash_free(struct ohash *); |
void roffhash_free(struct ohash *); |
|
|
|
enum mandoc_esc roff_escape(const char *, const int, const int, |
|
int *, int *, int *, int *); |
void roff_state_reset(struct roff_man *); |
void roff_state_reset(struct roff_man *); |
void roff_validate(struct roff_man *); |
void roff_validate(struct roff_man *); |
|
|