version 1.1, 2016/04/15 21:16:22 |
version 1.2, 2016/07/07 19:19:01 |
Line 55 the data directory containing all the manual trees; |
|
Line 55 the data directory containing all the manual trees; |
|
calls |
calls |
.Fn parse_manpath_conf ; |
.Fn parse_manpath_conf ; |
.It |
.It |
|
if |
|
.Ev PATH_INFO |
|
is empty, calls |
|
.Fn parse_query_string ; |
|
otherwise, |
calls |
calls |
.Fn parse_path_info ; |
.Fn parse_path_info ; |
.It |
.It |
calls |
|
.Fn parse_query_string |
|
if |
|
.Ev PATH_INFO |
|
is empty; |
|
.It |
|
validates the manpath and the architecture; |
validates the manpath and the architecture; |
.It |
.It |
calls the appropriate one among the |
calls the appropriate one among the |
Line 227 to print the HTTP headers, then prints the HTML header |
|
Line 226 to print the HTTP headers, then prints the HTML header |
|
opening tag of the <body> element, then copies the file |
opening tag of the <body> element, then copies the file |
.Pa header.html |
.Pa header.html |
to the output, if it exists and is readable. |
to the output, if it exists and is readable. |
.It Ft void Fn resp_searchform "const struct req *req" |
.It Ft void Fn resp_searchform "const struct req *req" "enum focus focus" |
This generator prints a search form, filling it with data |
This generator prints a search form, filling it with data |
from the provided request object. |
from the provided request object. |
|
If the |
|
.Fa focus |
|
argument is |
|
.Dv FOCUS_QUERY , |
|
it sets the document's autofocus to the query input box. |
.It Ft void Fn resp_show "const struct req *req" "const char *file" |
.It Ft void Fn resp_show "const struct req *req" "const char *file" |
This wrapper dispatches to either |
This wrapper dispatches to either |
.Fn resp_catman |
.Fn resp_catman |
Line 278 and does not ascend to parent directories. |
|
Line 282 and does not ascend to parent directories. |
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr mandoc 3 , |
.Xr mandoc 3 , |
.Xr mansearch 3 , |
.Xr mansearch 3 , |
|
.Xr mchars_alloc 3 , |
.Xr mandoc.db 5 , |
.Xr mandoc.db 5 , |
.Xr man.cgi 8 |
.Xr man.cgi 8 |