aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manpath.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-11-24 10:43:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-11-24 10:43:55 +0000
commit2a49c75c52a1e488bee53810342812dd48f32a79 (patch)
treeaf389bd7d19afcb541520d1574ffc96fe60fce82 /manpath.h
parent398166afdb1000ee46de9463b6e85a51372ed43c (diff)
downloadmandoc-2a49c75c52a1e488bee53810342812dd48f32a79.tar.gz
mandoc-2a49c75c52a1e488bee53810342812dd48f32a79.tar.zst
mandoc-2a49c75c52a1e488bee53810342812dd48f32a79.zip
Export the manpath_manconf() function, slightly reorderng manpath.c while
doing so. This will be used by a jailed man.cgi, as the cache built by manup(8) creates a man.conf for it to use.
Diffstat (limited to 'manpath.h')
-rw-r--r--manpath.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/manpath.h b/manpath.h
index 2d564c3f..421fa650 100644
--- a/manpath.h
+++ b/manpath.h
@@ -1,4 +1,4 @@
-/* $Id: manpath.h,v 1.1 2011/11/23 09:47:38 kristaps Exp $ */
+/* $Id: manpath.h,v 1.2 2011/11/24 10:43:55 kristaps Exp $ */
/*
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -29,6 +29,7 @@ struct manpaths {
__BEGIN_DECLS
+void manpath_manconf(struct manpaths *);
void manpath_parse(struct manpaths *, char *, char *);
void manpath_parseconf(struct manpaths *);
void manpath_parseline(struct manpaths *, char *);