diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2017-08-14 11:53:49 +0000 |
|---|---|---|
| committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2017-08-14 11:53:49 +0000 |
| commit | f3156461964256d1c034e49b880a19bc94c1c281 (patch) | |
| tree | 14cb627993b9ee1af94fa83fbf8c41cf227c3189 /usr/src/cmd/mandoc/mandoc_xr.h | |
| parent | aea86460f0918659f2a8637f97b2055272a86c98 (diff) | |
| parent | 5e9f42abf61392dc608a661563fb49e7707f0478 (diff) | |
| download | illumos-joyent-f3156461964256d1c034e49b880a19bc94c1c281.tar.gz | |
[illumos-gate merge]
commit 5e9f42abf61392dc608a661563fb49e7707f0478
8559 Add EFI utility functions to libefi
commit c66b8046543352459a11a51501b628d1c98a8c44
8547 update mandoc to 1.14.3
commit 12014b724f98604d61f9756b7e199416475d7396
8573 cmd/krb5: dmake should build 'all' as default target
Diffstat (limited to 'usr/src/cmd/mandoc/mandoc_xr.h')
| -rw-r--r-- | usr/src/cmd/mandoc/mandoc_xr.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/usr/src/cmd/mandoc/mandoc_xr.h b/usr/src/cmd/mandoc/mandoc_xr.h new file mode 100644 index 0000000000..e0c6af0ebf --- /dev/null +++ b/usr/src/cmd/mandoc/mandoc_xr.h @@ -0,0 +1,31 @@ +/* $Id: mandoc_xr.h,v 1.3 2017/07/02 21:18:29 schwarze Exp $ */ +/* + * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +struct mandoc_xr { + struct mandoc_xr *next; + char *sec; + char *name; + int line; /* Or -1 for this page's own names. */ + int pos; + int count; + char hashkey[]; +}; + +void mandoc_xr_reset(void); +int mandoc_xr_add(const char *, const char *, int, int); +struct mandoc_xr *mandoc_xr_get(void); +void mandoc_xr_free(void); |
