From 26e703e68a0324e7e5bfd3442f3e424c88dd2c42 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Fri, 8 Jan 2021 00:43:37 +0300 Subject: Documentation update started. --- man/magi_request_init.3 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 man/magi_request_init.3 (limited to 'man/magi_request_init.3') diff --git a/man/magi_request_init.3 b/man/magi_request_init.3 new file mode 100644 index 0000000..d0a1d6b --- /dev/null +++ b/man/magi_request_init.3 @@ -0,0 +1,23 @@ +.TH MAGI_REQUEST_INIT 3 2021-01-07 v0.0.1 "Magi Library Manual" +.SH NAME +.B magi_request_init +\- +.B magi_request +initialization +.SH SYNOPSIS +.B #include +.P +.RB "void " magi_request_init "(struct magi_request *" r ");" +.SH DESCRIPTION +.BR magi_request_init () +initializes +.I r +with default values. +It is usable for parsing the input after the call. +.P +Defaults are: read buffer of 64KB, unlimited space for cookies and parameters, +no callback for loading files. +.SH SEE ALSO +.BR magi_parse_head (3), +.BR magi_parse_body (3), +.BR magi_parse (3) -- cgit v1.2.3